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

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

Issue 2782603003: Add NGColumnLayoutAlgorithm skeleton implementation. (Closed)
Patch Set: update TestExpectations Created 3 years, 9 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_column_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.h
new file mode 100644
index 0000000000000000000000000000000000000000..905afe2d197354465dd96f65bc288e0fb132b9f4
--- /dev/null
+++ b/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NGColumnLayoutAlgorithm_h
+#define NGColumnLayoutAlgorithm_h
+
+#include "core/layout/ng/ng_block_layout_algorithm.h"
+#include "core/layout/ng/ng_break_token.h"
+#include "core/layout/ng/ng_constraint_space.h"
+#include "core/layout/ng/ng_layout_result.h"
+#include "wtf/RefPtr.h"
+
+namespace blink {
+
+class NGBlockNode;
+
+class CORE_EXPORT NGColumnLayoutAlgorithm : public NGBlockLayoutAlgorithm {
+ public:
+ NGColumnLayoutAlgorithm(NGBlockNode* node,
+ NGConstraintSpace* space,
+ NGBreakToken* break_token = nullptr);
+
+ RefPtr<NGLayoutResult> Layout() override;
+};
+
+} // namespace Blink
+
+#endif // NGColumnLayoutAlgorithm_h

Powered by Google App Engine
This is Rietveld 408576698