Index: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
index c286ffb3031c9bfeb02be543049fb2bc637e774c..3b3e317110168f8c4def7a32c4058ab8e9db96ad 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
@@ -12,7 +12,10 @@ namespace blink { |
class NGBreakToken; |
class NGConstraintSpace; |
+class NGFragmentBase; |
class NGInlineNode; |
+class NGLayoutInlineItemRange; |
+struct NGLogicalOffset; |
// A class for text layout. This takes a NGInlineNode which consists only |
// non-atomic inlines and produces NGTextFragments. |
@@ -37,9 +40,20 @@ class CORE_EXPORT NGTextLayoutAlgorithm : public NGLayoutAlgorithm { |
DECLARE_VIRTUAL_TRACE(); |
private: |
+ unsigned CreateLine(unsigned start_index, |
+ const NGConstraintSpace&, |
+ HeapVector<Member<NGFragmentBase>>*, |
+ Vector<NGLogicalOffset>*); |
+ void CreateLine(const NGLayoutInlineItemRange&, |
+ const NGConstraintSpace&, |
+ HeapVector<Member<NGFragmentBase>>*, |
+ Vector<NGLogicalOffset>*); |
+ |
Member<NGInlineNode> inline_box_; |
Member<NGConstraintSpace> constraint_space_; |
Member<NGBreakToken> break_token_; |
+ |
+ friend class NGInlineNodeTest; |
}; |
} // namespace blink |