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_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ | 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ |
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ | 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "cc/output/renderer_settings.h" | 12 #include "cc/output/renderer_settings.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
16 } | 16 } |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class BeginFrameSource; | |
20 class ContextProvider; | |
21 class ImageSerializationProcessor; | 19 class ImageSerializationProcessor; |
22 class TaskGraphRunner; | 20 class TaskGraphRunner; |
23 } | 21 } |
24 | 22 |
25 namespace blink { | 23 namespace blink { |
26 namespace scheduler { | 24 namespace scheduler { |
27 class RendererScheduler; | 25 class RendererScheduler; |
28 } | 26 } |
29 } | 27 } |
30 | 28 |
(...skipping 23 matching lines...) Expand all Loading... |
54 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; | 52 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; |
55 virtual bool AreImageDecodeTasksEnabled() = 0; | 53 virtual bool AreImageDecodeTasksEnabled() = 0; |
56 virtual bool IsThreadedAnimationEnabled() = 0; | 54 virtual bool IsThreadedAnimationEnabled() = 0; |
57 | 55 |
58 virtual ~CompositorDependencies() {} | 56 virtual ~CompositorDependencies() {} |
59 }; | 57 }; |
60 | 58 |
61 } // namespace content | 59 } // namespace content |
62 | 60 |
63 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ | 61 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ |
OLD | NEW |