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

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: Use LayerTreeSettings::ToProtobuf, update comments. Created 5 years 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 edc2a224ab3d76dceaf75a2a07ebed9db07d359b..4ce5ca90d203d03ee6e28be916fd0eaa9185d57f 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;
@@ -31,6 +32,11 @@ class CC_EXPORT ProxyMain : public Proxy {
TaskRunnerProvider* task_runner_provider,
scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ 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