OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NGColumnLayoutAlgorithm_h |
| 6 #define NGColumnLayoutAlgorithm_h |
| 7 |
| 8 #include "core/layout/ng/ng_block_layout_algorithm.h" |
| 9 #include "core/layout/ng/ng_break_token.h" |
| 10 #include "core/layout/ng/ng_constraint_space.h" |
| 11 #include "core/layout/ng/ng_layout_result.h" |
| 12 #include "wtf/RefPtr.h" |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 class NGBlockNode; |
| 17 |
| 18 class CORE_EXPORT NGColumnLayoutAlgorithm : public NGBlockLayoutAlgorithm { |
| 19 public: |
| 20 NGColumnLayoutAlgorithm(NGBlockNode* node, |
| 21 NGConstraintSpace* space, |
| 22 NGBreakToken* break_token = nullptr); |
| 23 |
| 24 RefPtr<NGLayoutResult> Layout() override; |
| 25 }; |
| 26 |
| 27 } // namespace Blink |
| 28 |
| 29 #endif // NGColumnLayoutAlgorithm_h |
OLD | NEW |