OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 NGFloatingObject_h | 5 #ifndef NGFloatingObject_h |
6 #define NGFloatingObject_h | 6 #define NGFloatingObject_h |
7 | 7 |
| 8 #include "core/layout/ng/geometry/ng_box_strut.h" |
8 #include "core/layout/ng/ng_block_node.h" | 9 #include "core/layout/ng/ng_block_node.h" |
9 #include "core/layout/ng/ng_constraint_space.h" | 10 #include "core/layout/ng/ng_constraint_space.h" |
10 #include "core/layout/ng/ng_units.h" | 11 #include "core/layout/ng/ng_exclusion.h" |
11 #include "core/style/ComputedStyle.h" | 12 #include "core/style/ComputedStyle.h" |
12 #include "core/style/ComputedStyleConstants.h" | 13 #include "core/style/ComputedStyleConstants.h" |
13 #include "platform/heap/Handle.h" | 14 #include "platform/heap/Handle.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 | 17 |
17 class NGPhysicalFragment; | 18 class NGPhysicalFragment; |
18 | 19 |
19 // Struct that keeps all information needed to position floats in LayoutNG. | 20 // Struct that keeps all information needed to position floats in LayoutNG. |
20 struct CORE_EXPORT NGFloatingObject | 21 struct CORE_EXPORT NGFloatingObject |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 DEFINE_INLINE_TRACE() { | 61 DEFINE_INLINE_TRACE() { |
61 visitor->trace(space); | 62 visitor->trace(space); |
62 visitor->trace(original_parent_space); | 63 visitor->trace(original_parent_space); |
63 visitor->trace(node); | 64 visitor->trace(node); |
64 } | 65 } |
65 }; | 66 }; |
66 | 67 |
67 } // namespace blink | 68 } // namespace blink |
68 | 69 |
69 #endif // NGFloatingObject_h | 70 #endif // NGFloatingObject_h |
OLD | NEW |