Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h

Issue 2772503004: [LayoutNG] Add NGInlineBreakToken and back of NGInlineLayoutAlgorithm (Closed)
Patch Set: Resolved merge conflicts Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 NGLogicalSize size_; 152 NGLogicalSize size_;
153 NGLogicalSize overflow_; 153 NGLogicalSize overflow_;
154 154
155 Vector<RefPtr<NGPhysicalFragment>> children_; 155 Vector<RefPtr<NGPhysicalFragment>> children_;
156 Vector<NGLogicalOffset> offsets_; 156 Vector<NGLogicalOffset> offsets_;
157 157
158 bool did_break_; 158 bool did_break_;
159 LayoutUnit used_block_size_; 159 LayoutUnit used_block_size_;
160 160
161 Vector<RefPtr<NGBreakToken>> child_break_tokens_; 161 Vector<RefPtr<NGBreakToken>> child_break_tokens_;
162 RefPtr<NGBreakToken> last_inline_break_token_;
162 163
163 WeakBoxList out_of_flow_descendant_candidates_; 164 WeakBoxList out_of_flow_descendant_candidates_;
164 Vector<OutOfFlowPlacement> out_of_flow_candidate_placements_; 165 Vector<OutOfFlowPlacement> out_of_flow_candidate_placements_;
165 166
166 WeakBoxList out_of_flow_descendants_; 167 WeakBoxList out_of_flow_descendants_;
167 Vector<NGStaticPosition> out_of_flow_positions_; 168 Vector<NGStaticPosition> out_of_flow_positions_;
168 169
169 // Floats that need to be positioned by the next in-flow fragment that can 170 // Floats that need to be positioned by the next in-flow fragment that can
170 // determine its block position in space. 171 // determine its block position in space.
171 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; 172 Vector<RefPtr<NGFloatingObject>> unpositioned_floats_;
172 173
173 Vector<NGLogicalOffset> floating_object_offsets_; 174 Vector<NGLogicalOffset> floating_object_offsets_;
174 Vector<RefPtr<NGFloatingObject>> positioned_floats_; 175 Vector<RefPtr<NGFloatingObject>> positioned_floats_;
175 176
176 WTF::Optional<NGLogicalOffset> bfc_offset_; 177 WTF::Optional<NGLogicalOffset> bfc_offset_;
177 NGMarginStrut end_margin_strut_; 178 NGMarginStrut end_margin_strut_;
178 }; 179 };
179 180
180 } // namespace blink 181 } // namespace blink
181 182
182 #endif // NGFragmentBuilder 183 #endif // NGFragmentBuilder
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698