Chromium Code Reviews| 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; | |
| 13 struct PaintPropertyTreeNode; | |
| 14 | |
| 15 class PaintPropertyTreeBuilder { | |
|
jbroman
2015/10/14 15:11:58
Will this object have state in the future? If not,
trchen
2015/10/14 22:51:13
I think it is likely we will add some state. Let's
| |
| 16 public: | |
| 17 void buildPropertyTrees(FrameView& rootFrame); | |
| 18 | |
| 19 private: | |
| 20 struct WalkContext; | |
| 21 struct WalkContextHTML; | |
| 22 struct WalkContextSVG; | |
|
jbroman
2015/10/14 15:11:58
fwd declaring nonexistent struct
trchen
2015/10/14 22:51:13
As discussed below. Let's have just one struct.
| |
| 23 | |
| 24 void walk(FrameView&, const WalkContext&); | |
| 25 void walk(LayoutBoxModelObject&, const WalkContextHTML&); | |
| 26 }; | |
| 27 | |
| 28 } // namespace blink | |
| 29 | |
| 30 #endif // PaintPropertyTreeBuilder_h | |
| OLD | NEW |