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

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: Include WebCompositorMutatorClient from WebLayerTreeView to allow unique_ptr usage. 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
« no previous file with comments | « third_party/WebKit/Source/web/web.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a66bb7b6af4e0500191abac41bb01a87d75b8b64..6c8770c4bbaa31af09eaa95e04da0a3c680538c3 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -28,6 +28,7 @@
#include "WebColor.h"
#include "WebCommon.h"
+#include "WebCompositorMutatorClient.h"
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebNonCopyable.h"
@@ -145,6 +146,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) { };
« no previous file with comments | « 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