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