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

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: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runni… 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..625478655e95ec63e896648384ba1f22d72f9208 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;
@@ -142,6 +143,9 @@ public:
virtual void registerSelection(const WebSelection&) { }
virtual void clearSelection() { }
+ // Mutations are plumbed back to the layer tree via the mutator client.
+ virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
+
// Input properties ---------------------------------------------------
virtual void setEventListenerProperties(WebEventListenerClass, WebEventListenerProperties) { };
virtual void setHaveScrollEventHandlers(bool) { };
« third_party/WebKit/Source/web/WebViewImpl.h ('K') | « third_party/WebKit/Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698