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 NGLayoutOpportunityIterator_h | 5 #ifndef NGLayoutOpportunityIterator_h |
6 #define NGLayoutOpportunityIterator_h | 6 #define NGLayoutOpportunityIterator_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/LayoutBox.h" | |
10 #include "core/layout/ng/ng_constraint_space.h" | 9 #include "core/layout/ng/ng_constraint_space.h" |
11 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
12 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
13 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
16 | 15 |
17 class CORE_EXPORT NGLayoutOpportunityIterator final | 16 class CORE_EXPORT NGLayoutOpportunityIterator final |
18 : public GarbageCollectedFinalized<NGLayoutOpportunityIterator> { | 17 : public GarbageCollectedFinalized<NGLayoutOpportunityIterator> { |
19 public: | 18 public: |
(...skipping 24 matching lines...) Expand all Loading... |
44 unsigned clear_; | 43 unsigned clear_; |
45 bool for_inline_or_bfc_; | 44 bool for_inline_or_bfc_; |
46 Vector<NGExclusion> filtered_exclusions_; | 45 Vector<NGExclusion> filtered_exclusions_; |
47 HeapVector<Member<NGConstraintSpace>> current_opportunities_; | 46 HeapVector<Member<NGConstraintSpace>> current_opportunities_; |
48 unsigned current_exclusion_idx_; | 47 unsigned current_exclusion_idx_; |
49 }; | 48 }; |
50 | 49 |
51 } // namespace blink | 50 } // namespace blink |
52 | 51 |
53 #endif // NGLayoutOpportunityIterator_h | 52 #endif // NGLayoutOpportunityIterator_h |
OLD | NEW |