OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NGBoxIterator_h | |
6 #define NGBoxIterator_h | |
7 | |
8 #include "core/layout/LayoutObject.h" | |
9 | |
10 namespace blink { | |
11 | |
12 class NGBox; | |
13 | |
14 // NG Box iterator over siblings of the layout object. | |
15 class NGBoxIterator { | |
16 public: | |
17 explicit NGBoxIterator(const LayoutObject*); | |
18 NGBox first(); | |
19 NGBox next(); | |
20 | |
21 private: | |
22 void reset(); | |
23 | |
24 const LayoutObject* m_layoutObject; | |
25 const LayoutObject* m_currentChild; | |
26 }; | |
27 | |
28 } // namespace blink | |
29 #endif // NGBoxIterator_h | |
OLD | NEW |