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

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: 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: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index fefa7741e613cf68b8b2ce742a8a85e5bf327559..3d368918f861182dd76a5d2021a5d9f7c33953ea 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 SetAuthoritativeVSyncInterval(

Powered by Google App Engine
This is Rietveld 408576698