| 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 "cc/test/test_gpu_memory_buffer_manager.h" | 9 #include "cc/test/test_gpu_memory_buffer_manager.h" |
| 9 #include "cc/test/test_shared_bitmap_manager.h" | 10 #include "cc/test/test_shared_bitmap_manager.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 "content/test/fake_renderer_scheduler.h" | 13 #include "content/test/fake_renderer_scheduler.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: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; | 49 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; |
| 49 cc::TestTaskGraphRunner task_graph_runner_; | 50 cc::TestTaskGraphRunner task_graph_runner_; |
| 50 FakeRendererScheduler renderer_scheduler_; | 51 FakeRendererScheduler renderer_scheduler_; |
| 51 | 52 |
| 52 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); | 53 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace content | 56 } // namespace content |
| 56 | 57 |
| 57 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ | 58 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ |
| OLD | NEW |