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

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

Issue 2723023003: Revert of [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: 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 4c9bec4c0b1a59930d018db6f1b17bd70eb241bc..1513af443b68205fae6bc5a7c39d1007a9bee932 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,10 +6,7 @@
#define NGAbsoluteUtils_h
#include "core/CoreExport.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 "core/layout/ng/ng_units.h"
#include "platform/LayoutUnit.h"
#include "wtf/Optional.h"
@@ -30,7 +27,7 @@
// The size is computed as NGAbsolutePhysicalPosition.
// It needs to be computed in 4 stages:
// 1. If AbsoluteNeedsChildInlineSize compute estimated inline_size using
-// MinMaxContentSize.ShrinkToFit.
+// MinAndMaxContentSizes.ShrinkToFit.
// 2. Compute part of PhysicalPosition that depends upon child inline size
// with ComputePartialAbsoluteWithChildInlineSize.
// 3. If AbsoluteNeedsChildBlockSize compute estimated block_size by
@@ -53,7 +50,7 @@
const NGConstraintSpace& space,
const ComputedStyle& style,
const NGStaticPosition&,
- const Optional<MinMaxContentSize>& child_minmax);
+ const Optional<MinAndMaxContentSizes>& 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