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

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: revert forAllFrameViews change in FrameView.cpp. I don't know what I was thinking. 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 struct PaintPropertyTreeBuilderContext;
13
14 // This class walks the whole layout tree, beginning from the root FrameView, ac ross
15 // frame boundaries. The walk will collect special things in the layout tree and create
16 // paint property nodes for them. Special things include but not limit to: overf low clip,
17 // transform, fixed-pos, animation, mask, filter, ... etc.
18 // It expects to be invoked after layout clean, i.e. during InPaintPropertyUpdat e phase.
19 class PaintPropertyTreeBuilder {
20 public:
21 void buildPropertyTrees(FrameView& rootFrame);
22
23 private:
24
25 void walk(FrameView&, const PaintPropertyTreeBuilderContext&);
26 void walk(LayoutBoxModelObject&, const PaintPropertyTreeBuilderContext&);
27 };
28
29 } // namespace blink
30
31 #endif // PaintPropertyTreeBuilder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698