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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc

Issue 2446243003: [LayoutNG] Add NGConstraintSpaceBuilder class. (Closed)
Patch Set: it's -> its \o/ Created 4 years, 2 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_physical_constraint_space.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
index 3d2b967961ffd054ea366b4da9fd95bf5d1c7117..867519f34c581e4ff7ea4d798886cd2ede848eaa 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
@@ -7,6 +7,24 @@
namespace blink {
NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
+ NGPhysicalSize container_size,
+ bool fixed_width,
+ bool fixed_height,
+ bool width_direction_triggers_scrollbar,
+ bool height_direction_triggers_scrollbar,
+ NGFragmentationType width_direction_fragmentation_type,
+ NGFragmentationType height_direction_fragmentation_type,
+ bool is_new_fc)
+ : container_size_(container_size),
+ fixed_width_(fixed_width),
+ fixed_height_(fixed_height),
+ width_direction_triggers_scrollbar_(width_direction_triggers_scrollbar),
+ height_direction_triggers_scrollbar_(height_direction_triggers_scrollbar),
+ width_direction_fragmentation_type_(width_direction_fragmentation_type),
+ height_direction_fragmentation_type_(height_direction_fragmentation_type),
+ is_new_fc_(is_new_fc) {}
+
+NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
NGPhysicalSize container_size)
: container_size_(container_size),
fixed_width_(0),

Powered by Google App Engine
This is Rietveld 408576698