Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: Source/core/rendering/style/StyleGridData.h

Issue 20253002: core/rendering: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI S 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI S
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 * 23 *
24 */ 24 */
25 25
26 #ifndef StyleGridData_h 26 #ifndef StyleGridData_h
27 #define StyleGridData_h 27 #define StyleGridData_h
28 28
29 #include "core/rendering/style/GridTrackSize.h" 29 #include "core/rendering/style/GridTrackSize.h"
30 #include "core/rendering/style/RenderStyleConstants.h" 30 #include "core/rendering/style/RenderStyleConstants.h"
31 #include <wtf/PassRefPtr.h> 31 #include "wtf/PassRefPtr.h"
32 #include <wtf/RefCounted.h> 32 #include "wtf/RefCounted.h"
33 #include <wtf/Vector.h> 33 #include "wtf/Vector.h"
34 #include <wtf/text/WTFString.h> 34 #include "wtf/text/WTFString.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 typedef HashMap<String, Vector<size_t> > NamedGridLinesMap; 38 typedef HashMap<String, Vector<size_t> > NamedGridLinesMap;
39 39
40 class StyleGridData : public RefCounted<StyleGridData> { 40 class StyleGridData : public RefCounted<StyleGridData> {
41 public: 41 public:
42 static PassRefPtr<StyleGridData> create() { return adoptRef(new StyleGridDat a); } 42 static PassRefPtr<StyleGridData> create() { return adoptRef(new StyleGridDat a); }
43 PassRefPtr<StyleGridData> copy() const { return adoptRef(new StyleGridData(* this)); } 43 PassRefPtr<StyleGridData> copy() const { return adoptRef(new StyleGridData(* this)); }
44 44
(...skipping 19 matching lines...) Expand all
64 GridTrackSize m_gridAutoColumns; 64 GridTrackSize m_gridAutoColumns;
65 65
66 private: 66 private:
67 StyleGridData(); 67 StyleGridData();
68 StyleGridData(const StyleGridData&); 68 StyleGridData(const StyleGridData&);
69 }; 69 };
70 70
71 } // namespace WebCore 71 } // namespace WebCore
72 72
73 #endif // StyleGridData_h 73 #endif // StyleGridData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleFlexibleBoxData.h ('k') | Source/core/rendering/style/StyleGridItemData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698