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

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

Issue 2714803002: [LayoutNG] Allow block-flow layout to be fragmented using new approach. (Closed)
Patch Set: silly me... Created 3 years, 10 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/ng_constraint_space_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
index 61549af0b465dfc9239989189ac5753feba64e9b..c8b387d6fa23d39842e69c3a74ff370bd5441b8d 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
@@ -43,6 +43,7 @@ class CORE_EXPORT NGConstraintSpaceBuilder final
NGConstraintSpaceBuilder& SetFragmentationType(NGFragmentationType);
NGConstraintSpaceBuilder& SetIsNewFormattingContext(bool is_new_fc);
+ NGConstraintSpaceBuilder& SetIsAnonymous(bool is_anonymous);
mstensho (USE GERRIT) 2017/02/27 13:44:36 Does it ever make sense to pass false here? I.e. c
ikilpatrick 2017/02/27 18:50:09 So the constraint space builder can be re-used for
mstensho (USE GERRIT) 2017/02/27 20:28:20 Acknowledged.
NGConstraintSpaceBuilder& SetMarginStrut(const NGMarginStrut& margin_strut);
@@ -79,6 +80,7 @@ class CORE_EXPORT NGConstraintSpaceBuilder final
unsigned is_block_direction_triggers_scrollbar_ : 1;
unsigned fragmentation_type_ : 2;
unsigned is_new_fc_ : 1;
+ unsigned is_anonymous_ : 1;
unsigned text_direction_ : 1;
NGMarginStrut margin_strut_;

Powered by Google App Engine
This is Rietveld 408576698