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 #include "core/layout/ng/ng_constraint_space.h" | 5 #include "core/layout/ng/ng_constraint_space.h" |
6 | 6 |
7 #include "core/layout/LayoutBox.h" | 7 #include "core/layout/LayoutBox.h" |
8 #include "core/style/ComputedStyle.h" | 8 #include "core/style/ComputedStyle.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 } | 64 } |
65 | 65 |
66 DoublyLinkedList<const NGExclusion> NGConstraintSpace::exclusions( | 66 DoublyLinkedList<const NGExclusion> NGConstraintSpace::exclusions( |
67 unsigned options) const { | 67 unsigned options) const { |
68 DoublyLinkedList<const NGExclusion> exclusions; | 68 DoublyLinkedList<const NGExclusion> exclusions; |
69 // TODO(eae): Implement. | 69 // TODO(eae): Implement. |
70 return exclusions; | 70 return exclusions; |
71 } | 71 } |
72 | 72 |
73 NGLayoutOpportunityIterator NGConstraintSpace::layoutOpportunities( | 73 NGLayoutOpportunityIterator NGConstraintSpace::layoutOpportunities( |
74 unsigned clear, NGExclusionFlowType avoid) const { | 74 unsigned clear, |
| 75 bool for_inline_or_bfc) const { |
75 // TODO(eae): Implement. | 76 // TODO(eae): Implement. |
76 NGLayoutOpportunityIterator iterator(this, clear, avoid); | 77 NGLayoutOpportunityIterator iterator(this, clear, for_inline_or_bfc); |
77 return iterator; | 78 return iterator; |
78 } | 79 } |
79 | 80 |
80 } // namespace blink | 81 } // namespace blink |
OLD | NEW |