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

Side by Side Diff: Source/core/rendering/RenderGrid.h

Issue 17601010: [CSS Grid Layout] Rename grid placement properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: missing webposed/ changes 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
« no previous file with comments | « Source/core/page/UseCounter.cpp ('k') | Source/core/rendering/RenderGrid.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple 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 15 matching lines...) Expand all
26 #ifndef RenderGrid_h 26 #ifndef RenderGrid_h
27 #define RenderGrid_h 27 #define RenderGrid_h
28 28
29 #include "core/rendering/RenderBlock.h" 29 #include "core/rendering/RenderBlock.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class GridTrack; 33 class GridTrack;
34 34
35 enum GridPositionSide { 35 enum GridPositionSide {
36 StartSide, 36 ColumnStartSide,
37 EndSide, 37 ColumnEndSide,
38 BeforeSide, 38 RowStartSide,
39 AfterSide 39 RowEndSide
40 }; 40 };
41 41
42 class RenderGrid FINAL : public RenderBlock { 42 class RenderGrid FINAL : public RenderBlock {
43 public: 43 public:
44 RenderGrid(Element*); 44 RenderGrid(Element*);
45 virtual ~RenderGrid(); 45 virtual ~RenderGrid();
46 46
47 virtual const char* renderName() const OVERRIDE; 47 virtual const char* renderName() const OVERRIDE;
48 48
49 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE; 49 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return m_grid.size(); 159 return m_grid.size();
160 } 160 }
161 161
162 Vector<Vector<Vector<RenderBox*, 1> > > m_grid; 162 Vector<Vector<Vector<RenderBox*, 1> > > m_grid;
163 HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate; 163 HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate;
164 }; 164 };
165 165
166 } // namespace WebCore 166 } // namespace WebCore
167 167
168 #endif // RenderGrid_h 168 #endif // RenderGrid_h
OLDNEW
« no previous file with comments | « Source/core/page/UseCounter.cpp ('k') | Source/core/rendering/RenderGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698