OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ | 5 #ifndef CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ |
6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ | 6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "cc/output/buffer_to_texture_target_map.h" | 9 #include "cc/output/buffer_to_texture_target_map.h" |
10 #include "cc/test/test_task_graph_runner.h" | 10 #include "cc/test/test_task_graph_runner.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 bool IsElasticOverscrollEnabled() override; | 31 bool IsElasticOverscrollEnabled() override; |
32 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; | 32 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; |
33 scoped_refptr<base::SingleThreadTaskRunner> | 33 scoped_refptr<base::SingleThreadTaskRunner> |
34 GetCompositorMainThreadTaskRunner() override; | 34 GetCompositorMainThreadTaskRunner() override; |
35 scoped_refptr<base::SingleThreadTaskRunner> | 35 scoped_refptr<base::SingleThreadTaskRunner> |
36 GetCompositorImplThreadTaskRunner() override; | 36 GetCompositorImplThreadTaskRunner() override; |
37 blink::scheduler::RendererScheduler* GetRendererScheduler() override; | 37 blink::scheduler::RendererScheduler* GetRendererScheduler() override; |
38 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 38 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
39 bool AreImageDecodeTasksEnabled() override; | 39 bool AreImageDecodeTasksEnabled() override; |
40 bool IsThreadedAnimationEnabled() override; | 40 bool IsThreadedAnimationEnabled() override; |
| 41 bool IsScrollAnimatorEnabled() override; |
41 | 42 |
42 private: | 43 private: |
43 cc::TestTaskGraphRunner task_graph_runner_; | 44 cc::TestTaskGraphRunner task_graph_runner_; |
44 blink::scheduler::FakeRendererScheduler renderer_scheduler_; | 45 blink::scheduler::FakeRendererScheduler renderer_scheduler_; |
45 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; | 46 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); | 48 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace content | 51 } // namespace content |
51 | 52 |
52 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ | 53 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ |
OLD | NEW |