Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h |
| diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h |
| index e369232db48568532166fa7e8a1f55ee63a380f1..042dcbc49d63376e8cf94b3239a8d07c0177b276 100644 |
| --- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h |
| +++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h |
| @@ -7,6 +7,7 @@ |
| #include "core/CoreExport.h" |
| #include "core/layout/ng/geometry/ng_logical_offset.h" |
| +#include "core/layout/ng/inline/ng_inline_box_state.h" |
| #include "core/layout/ng/inline/ng_inline_break_token.h" |
| #include "core/layout/ng/inline/ng_line_height_metrics.h" |
| #include "core/layout/ng/ng_constraint_space_builder.h" |
| @@ -137,10 +138,22 @@ class CORE_EXPORT NGInlineLayoutAlgorithm final |
| NGLineBoxFragmentBuilder*, |
| NGTextFragmentBuilder*); |
| + NGInlineBoxState* OnBeginPlaceItems(); |
|
ikilpatrick
2017/04/18 01:04:37
Oh, sorry, does it make sense to move, OnBeginPlac
|
| + NGInlineBoxState* OnOpenTag(const NGLayoutInlineItem&, |
| + NGLineBoxFragmentBuilder*, |
| + NGTextFragmentBuilder*); |
| + NGInlineBoxState* OnCloseTag(const NGLayoutInlineItem&, |
| + NGLineBoxFragmentBuilder*, |
| + NGInlineBoxState*); |
| + void OnEndPlaceItems(NGLineBoxFragmentBuilder*); |
| + void EndBoxState(NGInlineBoxState*, NGLineBoxFragmentBuilder*); |
| + void ApplyBaselineShift(NGInlineBoxState*, NGLineBoxFragmentBuilder*); |
| + |
| // Finds the next layout opportunity for the next text fragment. |
| void FindNextLayoutOpportunity(); |
| Vector<RefPtr<NGLayoutResult>, 32> layout_results_; |
| + NGInlineLayoutStateStack box_states_; |
| unsigned start_index_ = 0; |
| unsigned start_offset_ = 0; |
| unsigned last_index_ = 0; |