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 NGFragmentBuilder_h | 5 #ifndef NGFragmentBuilder_h |
6 #define NGFragmentBuilder_h | 6 #define NGFragmentBuilder_h |
7 | 7 |
8 #include "core/layout/ng/ng_break_token.h" | 8 #include "core/layout/ng/ng_break_token.h" |
9 #include "core/layout/ng/ng_constraint_space.h" | 9 #include "core/layout/ng/ng_constraint_space.h" |
10 #include "core/layout/ng/ng_floating_object.h" | 10 #include "core/layout/ng/ng_floating_object.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 NGLogicalSize size_; | 147 NGLogicalSize size_; |
148 NGLogicalSize overflow_; | 148 NGLogicalSize overflow_; |
149 | 149 |
150 Vector<RefPtr<NGPhysicalFragment>> children_; | 150 Vector<RefPtr<NGPhysicalFragment>> children_; |
151 Vector<NGLogicalOffset> offsets_; | 151 Vector<NGLogicalOffset> offsets_; |
152 | 152 |
153 bool did_break_; | 153 bool did_break_; |
154 LayoutUnit used_block_size_; | 154 LayoutUnit used_block_size_; |
155 | 155 |
156 Persistent<HeapVector<Member<NGBreakToken>>> child_break_tokens_; | 156 Vector<RefPtr<NGBreakToken>> child_break_tokens_; |
157 | 157 |
158 WeakBoxList out_of_flow_descendant_candidates_; | 158 WeakBoxList out_of_flow_descendant_candidates_; |
159 Vector<OutOfFlowPlacement> out_of_flow_candidate_placements_; | 159 Vector<OutOfFlowPlacement> out_of_flow_candidate_placements_; |
160 | 160 |
161 WeakBoxList out_of_flow_descendants_; | 161 WeakBoxList out_of_flow_descendants_; |
162 Vector<NGStaticPosition> out_of_flow_positions_; | 162 Vector<NGStaticPosition> out_of_flow_positions_; |
163 | 163 |
164 // Floats that need to be positioned by the next in-flow fragment that can | 164 // Floats that need to be positioned by the next in-flow fragment that can |
165 // determine its block position in space. | 165 // determine its block position in space. |
166 Vector<Persistent<NGFloatingObject>> unpositioned_floats_; | 166 Vector<Persistent<NGFloatingObject>> unpositioned_floats_; |
167 | 167 |
168 Vector<NGLogicalOffset> floating_object_offsets_; | 168 Vector<NGLogicalOffset> floating_object_offsets_; |
169 Vector<Persistent<NGFloatingObject>> positioned_floats_; | 169 Vector<Persistent<NGFloatingObject>> positioned_floats_; |
170 | 170 |
171 WTF::Optional<NGLogicalOffset> bfc_offset_; | 171 WTF::Optional<NGLogicalOffset> bfc_offset_; |
172 NGMarginStrut end_margin_strut_; | 172 NGMarginStrut end_margin_strut_; |
173 }; | 173 }; |
174 | 174 |
175 } // namespace blink | 175 } // namespace blink |
176 | 176 |
177 #endif // NGFragmentBuilder | 177 #endif // NGFragmentBuilder |
OLD | NEW |