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

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: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 8 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: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 5c39d7066a80125139394cd1e34f1a2b7737483e..4969d7d0c126dd5e750bf50628d423368bdac520 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 SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0;

Powered by Google App Engine
This is Rietveld 408576698