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

Unified Diff: cc/trees/proxy_main.h

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresed comments. Created 4 years, 11 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_main.h
diff --git a/cc/trees/proxy_main.h b/cc/trees/proxy_main.h
index bb510b8569a1cf4550f4119112ec11e88a8441b1..79abcdf5a704185a082e938e0ecf0ea3f6060765 100644
--- a/cc/trees/proxy_main.h
+++ b/cc/trees/proxy_main.h
@@ -15,6 +15,7 @@
#include "cc/trees/channel_main.h"
#include "cc/trees/proxy.h"
#include "cc/trees/proxy_common.h"
+#include "cc/trees/remote_proto_channel.h"
namespace cc {
class BeginFrameSource;
@@ -30,6 +31,11 @@ class CC_EXPORT ProxyMain : public Proxy {
LayerTreeHost* layer_tree_host,
TaskRunnerProvider* task_runner_provider);
+ static scoped_ptr<ProxyMain> CreateRemote(
+ RemoteProtoChannel* remote_proto_channel,
+ LayerTreeHost* layer_tree_host,
+ TaskRunnerProvider* task_runner_provider);
+
~ProxyMain() override;
// Commits between the main and impl threads are processed through a pipeline

Powered by Google App Engine
This is Rietveld 408576698