OLD | NEW |
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 236 |
237 LayoutUnit m_minContentHeight { -1 }; | 237 LayoutUnit m_minContentHeight { -1 }; |
238 LayoutUnit m_maxContentHeight { -1 }; | 238 LayoutUnit m_maxContentHeight { -1 }; |
239 | 239 |
240 int m_smallestRowStart; | 240 int m_smallestRowStart; |
241 int m_smallestColumnStart; | 241 int m_smallestColumnStart; |
242 | 242 |
243 size_t m_autoRepeatColumns { 0 }; | 243 size_t m_autoRepeatColumns { 0 }; |
244 size_t m_autoRepeatRows { 0 }; | 244 size_t m_autoRepeatRows { 0 }; |
245 | 245 |
246 bool m_hasAnyOrthogonalChild; | 246 Vector<LayoutBox*> m_orthogonalChildren; |
247 | 247 |
248 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns { nullptr }; | 248 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns { nullptr }; |
249 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows { nullptr }; | 249 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows { nullptr }; |
250 | 250 |
251 Optional<bool> m_hasDefiniteLogicalHeight; | 251 Optional<bool> m_hasDefiniteLogicalHeight; |
252 }; | 252 }; |
253 | 253 |
254 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); | 254 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); |
255 | 255 |
256 } // namespace blink | 256 } // namespace blink |
257 | 257 |
258 #endif // LayoutGrid_h | 258 #endif // LayoutGrid_h |
OLD | NEW |