| Index: third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
|
| index eb9618775e9963ba858d13bc040f826bbc2f115f..d2105f794b8dce79caafc282faca7f4a703f1368 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
|
| @@ -14,6 +14,7 @@ namespace blink {
|
| class ComputedStyle;
|
| class NGBreakToken;
|
| class NGConstraintSpace;
|
| +class NGFragmentBuilder;
|
| class NGInlineNode;
|
|
|
| // A class for inline layout (e.g. a anonymous block with inline-level children
|
| @@ -45,10 +46,19 @@ class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm {
|
| // Read-only Getters.
|
| const ComputedStyle& Style() const { return *style_; }
|
|
|
| + bool LayoutCurrentChild();
|
| + NGConstraintSpace* CreateConstraintSpaceForCurrentChild() const;
|
| +
|
| + enum State { kStateInit, kStateChildLayout, kStateFinalize };
|
| + State state_ = kStateInit;
|
| +
|
| RefPtr<const ComputedStyle> style_;
|
| Member<NGInlineNode> first_child_;
|
| Member<NGConstraintSpace> constraint_space_;
|
| Member<NGBreakToken> break_token_;
|
| + Member<NGFragmentBuilder> builder_;
|
| + Member<NGConstraintSpace> space_for_current_child_;
|
| + Member<NGInlineNode> current_child_;
|
| };
|
|
|
| } // namespace blink
|
|
|