| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 GridTrackSizingAlgorithm_h | 5 #ifndef GridTrackSizingAlgorithm_h |
| 6 #define GridTrackSizingAlgorithm_h | 6 #define GridTrackSizingAlgorithm_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "core/layout/LayoutBox.h" | 9 #include "core/layout/LayoutBox.h" |
| 10 #include "core/style/GridPositionsResolver.h" | 10 #include "core/style/GridPositionsResolver.h" |
| 11 #include "core/style/GridTrackSize.h" | 11 #include "core/style/GridTrackSize.h" |
| 12 #include "platform/LayoutUnit.h" | 12 #include "platform/LayoutUnit.h" |
| 13 #include "wtf/HashSet.h" | 13 #include "platform/wtf/HashSet.h" |
| 14 #include "wtf/Optional.h" | 14 #include "platform/wtf/Optional.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 static const int kInfinity = -1; | 18 static const int kInfinity = -1; |
| 19 | 19 |
| 20 class Grid; | 20 class Grid; |
| 21 class GridTrackSizingAlgorithmStrategy; | 21 class GridTrackSizingAlgorithmStrategy; |
| 22 class LayoutGrid; | 22 class LayoutGrid; |
| 23 | 23 |
| 24 enum MarginDirection; | 24 enum MarginDirection; |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 static GridTrackSizingDirection FlowAwareDirectionForChild( | 299 static GridTrackSizingDirection FlowAwareDirectionForChild( |
| 300 const LayoutGrid*, | 300 const LayoutGrid*, |
| 301 const LayoutBox& child, | 301 const LayoutBox& child, |
| 302 GridTrackSizingDirection); | 302 GridTrackSizingDirection); |
| 303 | 303 |
| 304 GridTrackSizingAlgorithm& algorithm_; | 304 GridTrackSizingAlgorithm& algorithm_; |
| 305 }; | 305 }; |
| 306 } | 306 } |
| 307 | 307 |
| 308 #endif // GridTrackSizingAlgorithm_h | 308 #endif // GridTrackSizingAlgorithm_h |
| OLD | NEW |