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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to StubCompositorMutator. Created 4 years, 7 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/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index c902c88c9634bd0eab843c6355d6f72d92e02fad..744a8f2f7c5f9af6e8ca37c1c7bba670b2f51447 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -44,6 +44,7 @@ class AnimationTimeline;
namespace blink {
class WebCompositeAndReadbackAsyncCallback;
+class WebCompositorMutatorClient;
class WebLayer;
class WebLayoutAndPaintAsyncCallback;
struct WebPoint;
@@ -164,6 +165,9 @@ public:
// Toggles scroll bottleneck rects on the HUD layer
virtual void setShowScrollBottleneckRects(bool) { }
+
+ // Mutations are plumbed back to the layer tree via the mutator client.
+ virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
Rick Byers 2016/05/05 14:02:22 nit: this probably doesn't belong in this "Debuggi
flackr 2016/05/05 15:13:15 Correct, flow control and scheduling sounds right.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698