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

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

Issue 2283233002: [LayoutNG] Construct ConstraintSpace form Physical (Closed)
Patch Set: Created 4 years, 4 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.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h
index 10b9a37a92afe4016f5816292da7bc768815537b..17a02e0b349e3cf6442fd4017f852bcdf90471ee 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h
@@ -41,8 +41,11 @@ class CORE_EXPORT NGPhysicalConstraintSpace final
: public GarbageCollected<NGPhysicalConstraintSpace> {
public:
NGPhysicalConstraintSpace();
+ NGPhysicalConstraintSpace(NGPhysicalSize);
NGPhysicalConstraintSpace(const NGPhysicalConstraintSpace&);
+ NGPhysicalSize ContainerSize() const { return container_size_; }
+
void AddExclusion(const NGExclusion, unsigned options = 0);
DoublyLinkedList<const NGExclusion> Exclusions(unsigned options = 0) const;

Powered by Google App Engine
This is Rietveld 408576698