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

Unified Diff: cc/trees/channel_main.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/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_main.h
diff --git a/cc/trees/channel_main.h b/cc/trees/channel_main.h
index 96fbb544265b3db16a40ded9a6b26967223760e8..03ed1f1ec20987d63e90298d094958fe48ff8f97 100644
--- a/cc/trees/channel_main.h
+++ b/cc/trees/channel_main.h
@@ -15,6 +15,8 @@
namespace cc {
+class LayerTreeMutator;
+
// ChannelMain and ChannelImpl provide an abstract communication layer for
// the main and impl side of the compositor.
//
@@ -34,6 +36,8 @@ class CC_EXPORT ChannelMain {
TopControlsState current,
bool animate) = 0;
virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) = 0;
+ virtual void InitializeMutatorOnImpl(
+ std::unique_ptr<LayerTreeMutator> mutator) = 0;
virtual void MainThreadHasStoppedFlingingOnImpl() = 0;
virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) = 0;
virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0;
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698