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

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

Issue 2892293002: Add a basic support of text-align:right property to NGInlineLayoutAlgorithm. (Closed)
Patch Set: fix comments 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_box_fragment_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
index e7e16de1f46a6772a9efff5cbd1d4bb2dd12074b..f4e4da8eb7bc2f8339158eff3790f1d649d07916 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
@@ -31,6 +31,8 @@ class CORE_EXPORT NGLineBoxFragmentBuilder final {
void MoveChildrenInBlockDirection(LayoutUnit);
void MoveChildrenInBlockDirection(LayoutUnit, unsigned start, unsigned end);
+ void MoveChildrenInInlineDirection(LayoutUnit delta);
+
const Vector<RefPtr<NGPhysicalFragment>>& Children() const {
return children_;
}

Powered by Google App Engine
This is Rietveld 408576698