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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_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_block_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
index f0d9377e4b8e54835bcb130907b068fa7a3e4c7f..117678b7adfddea7981e103d9e0206e68b8efc03 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
@@ -6,11 +6,11 @@
#define NGBlockLayoutAlgorithm_h
#include "core/CoreExport.h"
+#include "core/layout/ng/geometry/ng_margin_strut.h"
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_break_token.h"
#include "core/layout/ng/ng_fragment_builder.h"
#include "core/layout/ng/ng_layout_algorithm.h"
-#include "core/layout/ng/ng_units.h"
#include "wtf/RefPtr.h"
namespace blink {
@@ -35,7 +35,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm {
NGConstraintSpace* space,
NGBlockBreakToken* break_token = nullptr);
- Optional<MinAndMaxContentSizes> ComputeMinAndMaxContentSizes() const override;
+ Optional<MinMaxContentSize> ComputeMinMaxContentSize() const override;
RefPtr<NGLayoutResult> Layout() override;
private:

Powered by Google App Engine
This is Rietveld 408576698