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

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

Issue 2462153002: [layoutng] Support computing min-content and max-content (Closed)
Patch Set: more review comments Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_units.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.h b/third_party/WebKit/Source/core/layout/ng/ng_units.h
index d52f17d858c99989caea7fcec888dcfde5443383..315599b30855ffb0fb68f9bfda9ecaa896d15d1c 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h
@@ -17,6 +17,11 @@ class LayoutUnit;
struct NGPhysicalOffset;
struct NGPhysicalSize;
+struct MinAndMaxContentSizes {
+ LayoutUnit min_content;
+ LayoutUnit max_content;
+};
+
struct NGLogicalSize {
NGLogicalSize() {}
NGLogicalSize(LayoutUnit inline_size, LayoutUnit block_size)
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698