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

Unified Diff: cc/trees/proxy.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 | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index a8f3e99ca5670ea517ec01e2619275ec1dadc5e0..09592bc2cfac2684a759c2716a11b7ba08b12758 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -26,6 +26,7 @@ class Vector2d;
namespace cc {
class BeginFrameSource;
class LayerTreeDebugState;
+class LayerTreeMutator;
class OutputSurface;
struct RendererCapabilities;
@@ -72,6 +73,8 @@ class CC_EXPORT Proxy {
std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0;
virtual void Stop() = 0; // Must be called before deleting the proxy.
+ virtual void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) = 0;
+
virtual bool SupportsImplScrolling() const = 0;
virtual void UpdateTopControlsState(TopControlsState constraints,
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698