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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.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_absolute_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
index 1513af443b68205fae6bc5a7c39d1007a9bee932..4c9bec4c0b1a59930d018db6f1b17bd70eb241bc 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
@@ -6,7 +6,10 @@
#define NGAbsoluteUtils_h
#include "core/CoreExport.h"
-#include "core/layout/ng/ng_units.h"
+#include "core/layout/ng/geometry/ng_box_strut.h"
+#include "core/layout/ng/geometry/ng_physical_size.h"
+#include "core/layout/ng/geometry/ng_static_position.h"
+#include "core/layout/ng/ng_min_max_content_size.h"
#include "platform/LayoutUnit.h"
#include "wtf/Optional.h"
@@ -27,7 +30,7 @@ struct CORE_EXPORT NGAbsolutePhysicalPosition {
// The size is computed as NGAbsolutePhysicalPosition.
// It needs to be computed in 4 stages:
// 1. If AbsoluteNeedsChildInlineSize compute estimated inline_size using
-// MinAndMaxContentSizes.ShrinkToFit.
+// MinMaxContentSize.ShrinkToFit.
// 2. Compute part of PhysicalPosition that depends upon child inline size
// with ComputePartialAbsoluteWithChildInlineSize.
// 3. If AbsoluteNeedsChildBlockSize compute estimated block_size by
@@ -50,7 +53,7 @@ ComputePartialAbsoluteWithChildInlineSize(
const NGConstraintSpace& space,
const ComputedStyle& style,
const NGStaticPosition&,
- const Optional<MinAndMaxContentSizes>& child_minmax);
+ const Optional<MinMaxContentSize>& child_minmax);
// Compute rest of NGPhysicalRect that depends on child's block_size.
CORE_EXPORT void ComputeFullAbsoluteWithChildBlockSize(

Powered by Google App Engine
This is Rietveld 408576698