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 NGPhysicalFragmentBase_h | 5 #ifndef NGPhysicalFragmentBase_h |
6 #define NGPhysicalFragmentBase_h | 6 #define NGPhysicalFragmentBase_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/ng_break_token.h" | |
10 #include "core/layout/ng/ng_constraint_space.h" | |
11 #include "core/layout/ng/ng_units.h" | 9 #include "core/layout/ng/ng_units.h" |
12 #include "platform/LayoutUnit.h" | 10 #include "platform/LayoutUnit.h" |
13 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
14 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
15 | 13 |
16 namespace blink { | 14 namespace blink { |
17 | 15 |
18 class NGBlockNode; | 16 class NGBlockNode; |
| 17 class NGBreakToken; |
19 | 18 |
20 // The NGPhysicalFragmentBase contains the output information from layout. The | 19 // The NGPhysicalFragmentBase contains the output information from layout. The |
21 // fragment stores all of its information in the physical coordinate system for | 20 // fragment stores all of its information in the physical coordinate system for |
22 // use by paint, hit-testing etc. | 21 // use by paint, hit-testing etc. |
23 // | 22 // |
24 // Layout code should only access output layout information through the | 23 // Layout code should only access output layout information through the |
25 // NGFragmentBase classes which transforms information into the logical | 24 // NGFragmentBase classes which transforms information into the logical |
26 // coordinate system. | 25 // coordinate system. |
27 class CORE_EXPORT NGPhysicalFragmentBase | 26 class CORE_EXPORT NGPhysicalFragmentBase |
28 : public GarbageCollectedFinalized<NGPhysicalFragmentBase> { | 27 : public GarbageCollectedFinalized<NGPhysicalFragmentBase> { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 HeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; | 91 HeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; |
93 Vector<NGStaticPosition> out_of_flow_positions_; | 92 Vector<NGStaticPosition> out_of_flow_positions_; |
94 | 93 |
95 unsigned type_ : 1; | 94 unsigned type_ : 1; |
96 unsigned has_been_placed_ : 1; | 95 unsigned has_been_placed_ : 1; |
97 }; | 96 }; |
98 | 97 |
99 } // namespace blink | 98 } // namespace blink |
100 | 99 |
101 #endif // NGFragmentBase_h | 100 #endif // NGFragmentBase_h |
OLD | NEW |