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 NGLayoutResult_h | 5 #ifndef NGLayoutResult_h |
6 #define NGLayoutResult_h | 6 #define NGLayoutResult_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/geometry/ng_static_position.h" | 9 #include "core/layout/ng/geometry/ng_static_position.h" |
10 #include "core/layout/ng/ng_floating_object.h" | 10 #include "core/layout/ng/ng_floating_object.h" |
11 #include "core/layout/ng/ng_physical_fragment.h" | 11 #include "core/layout/ng/ng_physical_fragment.h" |
12 #include "platform/LayoutUnit.h" | 12 #include "platform/LayoutUnit.h" |
13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
14 #include "wtf/Vector.h" | 14 #include "platform/wtf/Vector.h" |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class LayoutObject; | 18 class LayoutObject; |
19 class NGBlockNode; | 19 class NGBlockNode; |
20 struct NGFloatingObject; | 20 struct NGFloatingObject; |
21 | 21 |
22 // The NGLayoutResult stores the resulting data from layout. This includes | 22 // The NGLayoutResult stores the resulting data from layout. This includes |
23 // geometry information in form of a NGPhysicalFragment, which is kept around | 23 // geometry information in form of a NGPhysicalFragment, which is kept around |
24 // for painting, hit testing, etc., as well as additional data which is only | 24 // for painting, hit testing, etc., as well as additional data which is only |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 RefPtr<NGPhysicalFragment> physical_fragment_; | 64 RefPtr<NGPhysicalFragment> physical_fragment_; |
65 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; | 65 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; |
66 Vector<NGStaticPosition> out_of_flow_positions_; | 66 Vector<NGStaticPosition> out_of_flow_positions_; |
67 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; | 67 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // NGLayoutResult_h | 72 #endif // NGLayoutResult_h |
OLD | NEW |