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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h

Issue 1791543005: InPrePaint document state and PrePaintTreeWalk class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
similarity index 69%
rename from third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
rename to third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
index cdfacadf945ad812cc28a4139c59f31185ec95f7..8e3ee6df9dad482b1c2e726582cf2623e1169d33 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
@@ -2,29 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PaintPropertyTreeBuilder_h
-#define PaintPropertyTreeBuilder_h
+#ifndef PrePaintTreeWalk_h
+#define PrePaintTreeWalk_h
namespace blink {
class FrameView;
class LayoutObject;
-struct PaintPropertyTreeBuilderContext;
+struct PrePaintTreeWalkContext;
// This class walks the whole layout tree, beginning from the root FrameView, across
// frame boundaries. The walk will collect special things in the layout tree and create
// paint property nodes for them. Special things include but not limit to: overflow clip,
// transform, fixed-pos, animation, mask, filter, ... etc.
// It expects to be invoked after layout clean, i.e. during InPaintPropertyUpdate phase.
pdr. 2016/03/12 04:04:25 Nit: this comment should be updated to not use InP
Xianzhu 2016/03/14 18:56:04 Done.
-class PaintPropertyTreeBuilder {
+class PrePaintTreeWalk {
public:
void buildPropertyTrees(FrameView& rootFrame);
private:
- void walk(FrameView&, const PaintPropertyTreeBuilderContext&);
- void walk(LayoutObject&, const PaintPropertyTreeBuilderContext&);
+ void walk(FrameView&, const PrePaintTreeWalkContext&);
+ void walk(LayoutObject&, const PrePaintTreeWalkContext&);
};
} // namespace blink
-#endif // PaintPropertyTreeBuilder_h
+#endif // PrePaintTreeWalk_h

Powered by Google App Engine
This is Rietveld 408576698