OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NGBlockLayoutAlgorithm_h | 5 #ifndef NGBlockLayoutAlgorithm_h |
6 #define NGBlockLayoutAlgorithm_h | 6 #define NGBlockLayoutAlgorithm_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 class LayoutBox; | |
11 class NGConstraintSpace; | |
12 | |
13 class NGBlockLayoutAlgorithm { | 10 class NGBlockLayoutAlgorithm { |
14 public: | 11 public: |
15 NGBlockLayoutAlgorithm(); | 12 NGBlockLayoutAlgorithm(); |
16 | |
17 NGConstraintSpace createConstraintSpaceFromLayoutObject(const LayoutBox&); | |
18 }; | 13 }; |
19 | 14 |
20 } // namespace blink | 15 } // namespace blink |
21 | 16 |
22 #endif // NGBlockLayoutAlgorithm_h | 17 #endif // NGBlockLayoutAlgorithm_h |
OLD | NEW |