| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index 3bfd73ca5c9cd4108ee22462b1299c98330b5333..625d98ac667da41fa1cc95b1aa07777957e35c27 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -58,6 +58,7 @@ class LayerTreeHostImplClient;
|
| class LayerTreeHostSingleThreadClient;
|
| class PropertyTrees;
|
| class Region;
|
| +class RemoteProtoChannel;
|
| class RenderingStatsInstrumentation;
|
| class ResourceProvider;
|
| class ResourceUpdateQueue;
|
| @@ -94,6 +95,15 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
|
| static scoped_ptr<LayerTreeHost> CreateSingleThreaded(
|
| LayerTreeHostSingleThreadClient* single_thread_client,
|
| InitParams* params);
|
| +
|
| + static scoped_ptr<LayerTreeHost> CreateRemote(
|
| + RemoteProtoChannel* remote_proto_channel,
|
| + InitParams* params);
|
| +
|
| + static scoped_ptr<LayerTreeHost> CreateDeserializable(
|
| + scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner,
|
| + InitParams* params);
|
| +
|
| virtual ~LayerTreeHost();
|
|
|
| // LayerTreeHost interface to Proxy.
|
| @@ -369,6 +379,12 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
|
| LayerTreeHostSingleThreadClient* single_thread_client,
|
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
|
| scoped_ptr<BeginFrameSource> external_begin_frame_source);
|
| + void InitializeRemote(
|
| + RemoteProtoChannel* remote_proto_channel,
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_task_runner);
|
| + void InitializeDeserializable(
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
|
| + scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner);
|
| void InitializeForTesting(scoped_ptr<TaskRunnerProvider> task_runner_provider,
|
| scoped_ptr<Proxy> proxy_for_testing);
|
| void SetOutputSurfaceLostForTesting(bool is_lost) {
|
| @@ -400,6 +416,8 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
|
|
|
| bool IsSingleThreaded() const;
|
| bool IsThreaded() const;
|
| + bool IsRemote() const;
|
| + bool IsDeserializable() const;
|
|
|
| struct UIResourceClientData {
|
| UIResourceClient* client;
|
|
|