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" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 private: | 55 private: |
56 friend class NGFragmentBuilder; | 56 friend class NGFragmentBuilder; |
57 | 57 |
58 NGLayoutResult(PassRefPtr<NGPhysicalFragment> physical_fragment, | 58 NGLayoutResult(PassRefPtr<NGPhysicalFragment> physical_fragment, |
59 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>>& | 59 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>>& |
60 out_of_flow_descendants, | 60 out_of_flow_descendants, |
61 Vector<NGStaticPosition> out_of_flow_positions, | 61 Vector<NGStaticPosition> out_of_flow_positions, |
62 Vector<RefPtr<NGFloatingObject>>& unpositioned_floats); | 62 Vector<RefPtr<NGFloatingObject>>& unpositioned_floats); |
63 | 63 |
64 RefPtr<NGPhysicalFragment> physical_fragment_; | 64 RefPtr<NGPhysicalFragment> physical_fragment_; |
65 LayoutObject* layout_object_; | |
66 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; | 65 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; |
67 Vector<NGStaticPosition> out_of_flow_positions_; | 66 Vector<NGStaticPosition> out_of_flow_positions_; |
68 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; | 67 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace blink | 70 } // namespace blink |
72 | 71 |
73 #endif // NGLayoutResult_h | 72 #endif // NGLayoutResult_h |
OLD | NEW |