OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GridResolvedPosition_h | 5 #ifndef GridResolvedPosition_h |
6 #define GridResolvedPosition_h | 6 #define GridResolvedPosition_h |
7 | 7 |
8 #include "core/layout/style/GridPosition.h" | 8 #include "core/style/GridPosition.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 struct GridSpan; | 12 struct GridSpan; |
13 class LayoutBox; | 13 class LayoutBox; |
14 class ComputedStyle; | 14 class ComputedStyle; |
15 | 15 |
16 enum GridPositionSide { | 16 enum GridPositionSide { |
17 ColumnStartSide, | 17 ColumnStartSide, |
18 ColumnEndSide, | 18 ColumnEndSide, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 private: | 121 private: |
122 | 122 |
123 static size_t explicitGridSizeForSide(const ComputedStyle&, GridPositionSide
); | 123 static size_t explicitGridSizeForSide(const ComputedStyle&, GridPositionSide
); |
124 | 124 |
125 size_t m_integerPosition; | 125 size_t m_integerPosition; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace blink | 128 } // namespace blink |
129 | 129 |
130 #endif // GridResolvedPosition_h | 130 #endif // GridResolvedPosition_h |
OLD | NEW |