OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 PaintPropertyTreeBuilder_h | |
6 #define PaintPropertyTreeBuilder_h | |
7 | |
8 namespace blink { | |
9 | |
10 class FrameView; | |
11 class LayoutBoxModelObject; | |
12 class LayoutObject; | |
pdr.
2015/10/20 22:02:31
"class LayoutObject" and "struct PaintPropertyTree
trchen
2015/10/21 06:16:20
Done.
| |
13 struct PaintPropertyTreeNode; | |
14 | |
15 class PaintPropertyTreeBuilder { | |
jbroman
2015/10/20 23:50:13
Class comment please. At least a description that
trchen
2015/10/21 06:16:20
I consider the walk ordering being implementation
| |
16 public: | |
17 void buildPropertyTrees(FrameView& rootFrame); | |
pdr.
2015/10/20 22:02:31
WDYT about making all of these functions const sin
jbroman
2015/10/20 23:50:13
IMHO either these are (potentially) stateful objec
trchen
2015/10/21 06:16:20
Yep, I feel that it is very likely to become state
| |
18 | |
19 private: | |
20 struct Context; | |
21 | |
22 void walk(FrameView&, const Context&); | |
pdr.
2015/10/20 22:02:31
Can you doc which tree traversal order is used in
trchen
2015/10/21 06:16:20
Ditto.
| |
23 void walk(LayoutBoxModelObject&, const Context&); | |
24 }; | |
25 | |
26 } // namespace blink | |
27 | |
28 #endif // PaintPropertyTreeBuilder_h | |
OLD | NEW |