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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h

Issue 2888643004: [LayoutNG] Implement LayoutBR/preserved newlines and tabs (Closed)
Patch Set: Rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h
index 80293583afa7acd04e8381edbbff66f71f22010b..3823bd947c116cbf03d65554036fb014894a6c99 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h
@@ -43,10 +43,15 @@ class CORE_EXPORT NGLineBreaker {
private:
void BreakLine(NGInlineItemResults*, NGInlineLayoutAlgorithm*);
+ bool HandleControlItem(const NGInlineItem&,
+ const String& text,
+ NGInlineItemResult*,
+ LayoutUnit position);
void LayoutAtomicInline(const NGInlineItem&, NGInlineItemResult*);
void HandleOverflow(NGInlineItemResults*, const LazyLineBreakIterator&);
+ void MoveToNextOf(const NGInlineItem&);
void SkipCollapsibleWhitespaces();
void AppendCloseTags(NGInlineItemResults*);

Powered by Google App Engine
This is Rietveld 408576698