Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1355)

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_box_iterator.h

Issue 2230683003: [LayoutNG] Initial implementation of NGBoxIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: synced to the head Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_box.cc ('k') | third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698