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

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

Issue 2943983002: [LayoutNG] Implement CSS 'text-indent' property (Closed)
Patch Set: Cleanup Created 3 years, 6 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 bc694d6996baa9063a3b18707a26512053e37fe7..ac43b1cac556039399b1a9f872c02d89f9c2e22e 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
@@ -89,6 +89,8 @@ class CORE_EXPORT NGLineBreaker {
void MoveToNextOf(const NGInlineItemResult&);
void SkipCollapsibleWhitespaces();
+ bool IsFirstFormattedLine() const;
+
NGInlineNode node_;
NGConstraintSpace* constraint_space_;
NGFragmentBuilder* container_builder_;
@@ -102,8 +104,9 @@ class CORE_EXPORT NGLineBreaker {
HarfBuzzShaper shaper_;
ShapeResultSpacing<String> spacing_;
- unsigned auto_wrap_ : 1;
- unsigned should_create_line_box_ : 1;
+ bool auto_wrap_;
+ bool should_create_line_box_;
+ bool is_after_forced_break_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698