OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include "cc/test/fake_layer_tree_host_impl_client.h" | 8 #include "cc/test/fake_layer_tree_host_impl_client.h" |
9 #include "cc/test/fake_rendering_stats_instrumentation.h" | 9 #include "cc/test/fake_rendering_stats_instrumentation.h" |
10 #include "cc/trees/layer_tree_host_impl.h" | 10 #include "cc/trees/layer_tree_host_impl.h" |
11 #include "cc/trees/single_thread_proxy.h" | 11 #include "cc/trees/single_thread_proxy.h" |
12 | 12 |
13 namespace gpu { | |
14 class GpuMemoryBufferManager; | |
15 } | |
16 | |
17 namespace cc { | 13 namespace cc { |
18 | 14 |
19 class AnimationHost; | 15 class AnimationHost; |
20 | 16 |
21 class FakeLayerTreeHostImpl : public LayerTreeHostImpl { | 17 class FakeLayerTreeHostImpl : public LayerTreeHostImpl { |
22 public: | 18 public: |
23 FakeLayerTreeHostImpl(TaskRunnerProvider* task_runner_provider, | 19 FakeLayerTreeHostImpl(TaskRunnerProvider* task_runner_provider, |
24 TaskGraphRunner* task_graph_runner); | 20 TaskGraphRunner* task_graph_runner); |
25 FakeLayerTreeHostImpl(const LayerTreeSettings& settings, | 21 FakeLayerTreeHostImpl(const LayerTreeSettings& settings, |
26 TaskRunnerProvider* task_runner_provider, | 22 TaskRunnerProvider* task_runner_provider, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 57 |
62 private: | 58 private: |
63 FakeLayerTreeHostImplClient client_; | 59 FakeLayerTreeHostImplClient client_; |
64 FakeRenderingStatsInstrumentation stats_instrumentation_; | 60 FakeRenderingStatsInstrumentation stats_instrumentation_; |
65 bool notify_tile_state_changed_called_; | 61 bool notify_tile_state_changed_called_; |
66 }; | 62 }; |
67 | 63 |
68 } // namespace cc | 64 } // namespace cc |
69 | 65 |
70 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ | 66 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |