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 "base/single_thread_task_runner.h" |
9 #include "cc/output/buffer_to_texture_target_map.h" | 10 #include "cc/output/buffer_to_texture_target_map.h" |
10 #include "cc/test/test_task_graph_runner.h" | 11 #include "cc/test/test_task_graph_runner.h" |
11 #include "content/renderer/gpu/compositor_dependencies.h" | 12 #include "content/renderer/gpu/compositor_dependencies.h" |
12 #include "third_party/WebKit/public/platform/scheduler/test/fake_renderer_schedu
ler.h" | 13 #include "third_party/WebKit/public/platform/scheduler/test/fake_renderer_schedu
ler.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class FakeCompositorDependencies : public CompositorDependencies { | 17 class FakeCompositorDependencies : public CompositorDependencies { |
17 public: | 18 public: |
18 FakeCompositorDependencies(); | 19 FakeCompositorDependencies(); |
(...skipping 24 matching lines...) Expand all Loading... |
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 |