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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h

Issue 2698473006: Set layer scroll data from PaintArtifactCompositor (Closed)
Patch Set: More comments Created 3 years, 10 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/platform/graphics/compositing/PropertyTreeManager.h
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h b/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
index 6704dede23b61cc432a61d12e1c78ada566c2d01..f440beafaa23b42f5ab7b0bbcd25f771435e102d 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
@@ -75,7 +75,9 @@ class PropertyTreeManager {
int ensureCompositorTransformNode(const TransformPaintPropertyNode*);
int ensureCompositorClipNode(const ClipPaintPropertyNode*);
- int ensureCompositorScrollNode(const ScrollPaintPropertyNode*);
+ // Update the layer->scroll and scroll->layer mapping. The latter is temporary
+ // until |owning_layer_id| is removed from the scroll node.
+ void updateLayerScrollMapping(cc::Layer*, const TransformPaintPropertyNode*);
int switchToEffectNode(const EffectPaintPropertyNode& nextEffect);
int getCurrentCompositorEffectNodeIndex() const {
@@ -90,6 +92,8 @@ class PropertyTreeManager {
cc::EffectTree& effectTree();
cc::ScrollTree& scrollTree();
+ int ensureCompositorScrollNode(const ScrollPaintPropertyNode*);
+
const EffectPaintPropertyNode* currentEffectNode() const;
// Scroll translation has special treatment in the transform and scroll trees.

Powered by Google App Engine
This is Rietveld 408576698