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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

Issue 1407543003: Preliminary paint property walk implementation for SPv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor bug fix (perspective does not clear paint offset). switch test to unit test style. add a few … Created 5 years, 2 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698