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

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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Don't export NGBoxStrut for now 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_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
index bc2250cec7b25193b47906baee9edc72530f487d..a04f8372461b191564054bcc9f4640556ab000d7 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
@@ -6,14 +6,14 @@
#define NGLayoutAlgorithm_h
#include "core/CoreExport.h"
-#include "core/layout/ng/ng_units.h"
+#include "core/layout/ng/ng_min_max_content_size.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include "wtf/Optional.h"
namespace blink {
-struct MinAndMaxContentSizes;
+struct MinMaxContentSize;
class NGLayoutResult;
// Base class for all LayoutNG algorithms.
@@ -34,7 +34,7 @@ class CORE_EXPORT NGLayoutAlgorithm {
// account. If the return value is empty, the caller is expected to synthesize
// this value from the overflow rect returned from Layout called with an
// available width of 0 and LayoutUnit::max(), respectively.
- virtual Optional<MinAndMaxContentSizes> ComputeMinAndMaxContentSizes() const {
+ virtual Optional<MinMaxContentSize> ComputeMinMaxContentSize() const {
return WTF::nullopt;
}
};

Powered by Google App Engine
This is Rietveld 408576698