OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 5 #ifndef CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/blimp/remote_compositor_bridge_client.h" | 11 #include "cc/blimp/remote_compositor_bridge_client.h" |
12 #include "cc/debug/layer_tree_debug_state.h" | 12 #include "cc/debug/layer_tree_debug_state.h" |
13 #include "cc/surfaces/surface_sequence_generator.h" | 13 #include "cc/surfaces/surface_sequence_generator.h" |
14 #include "cc/trees/layer_tree_host.h" | 14 #include "cc/trees/layer_tree_host.h" |
15 #include "cc/trees/layer_tree_settings.h" | 15 #include "cc/trees/layer_tree_settings.h" |
16 #include "cc/trees/swap_promise_manager.h" | 16 #include "cc/trees/swap_promise_manager.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
20 } // namespace base | 20 } // namespace base |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
23 namespace proto { | 23 namespace proto { |
24 class LayerTreeHost; | 24 class LayerTreeHost; |
25 } // namespace proto | 25 } // namespace proto |
26 | 26 |
27 class MutatorHost; | 27 class MutatorHost; |
28 class EnginePictureCache; | 28 class EnginePictureCache; |
29 class ImageSerializationProcessor; | |
30 class RemoteCompositorBridge; | 29 class RemoteCompositorBridge; |
31 class LayerTreeHostClient; | 30 class LayerTreeHostClient; |
32 | 31 |
33 class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost, | 32 class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost, |
34 public RemoteCompositorBridgeClient { | 33 public RemoteCompositorBridgeClient { |
35 public: | 34 public: |
36 struct CC_EXPORT InitParams { | 35 struct CC_EXPORT InitParams { |
37 LayerTreeHostClient* client = nullptr; | 36 LayerTreeHostClient* client = nullptr; |
38 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner; | 37 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner; |
39 MutatorHost* mutator_host; | 38 MutatorHost* mutator_host; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 SurfaceSequenceGenerator surface_sequence_generator_; | 170 SurfaceSequenceGenerator surface_sequence_generator_; |
172 | 171 |
173 base::WeakPtr<InputHandler> input_handler_weak_ptr_; | 172 base::WeakPtr<InputHandler> input_handler_weak_ptr_; |
174 | 173 |
175 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_; | 174 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_; |
176 }; | 175 }; |
177 | 176 |
178 } // namespace cc | 177 } // namespace cc |
179 | 178 |
180 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 179 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
OLD | NEW |