OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 NGBlockChildIterator_h | 5 #ifndef NGBlockChildIterator_h |
6 #define NGBlockChildIterator_h | 6 #define NGBlockChildIterator_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "wtf/RefPtr.h" | 10 #include "platform/wtf/RefPtr.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class NGLayoutInputNode; | 14 class NGLayoutInputNode; |
15 class NGBreakToken; | 15 class NGBreakToken; |
16 class NGBlockBreakToken; | 16 class NGBlockBreakToken; |
17 | 17 |
18 // A utility class for block-flow layout which given the first child and a | 18 // A utility class for block-flow layout which given the first child and a |
19 // break token will iterate through unfinished children. | 19 // break token will iterate through unfinished children. |
20 // | 20 // |
(...skipping 30 matching lines...) Expand all Loading... |
51 NGBreakToken* token; | 51 NGBreakToken* token; |
52 | 52 |
53 bool operator==(const NGBlockChildIterator::Entry& other) const { | 53 bool operator==(const NGBlockChildIterator::Entry& other) const { |
54 return node == other.node && token == other.token; | 54 return node == other.node && token == other.token; |
55 } | 55 } |
56 }; | 56 }; |
57 | 57 |
58 } // namespace blink | 58 } // namespace blink |
59 | 59 |
60 #endif // NGBlockChildIterator_h | 60 #endif // NGBlockChildIterator_h |
OLD | NEW |