OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_GPU_GPU_CHILD_THREAD_H_ | 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ |
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ | 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <queue> | 11 #include <queue> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/metrics/field_trial.h" | 18 #include "base/metrics/field_trial.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "content/child/child_thread_impl.h" | 21 #include "content/child/child_thread_impl.h" |
22 #include "gpu/command_buffer/service/gpu_preferences.h" | 22 #include "gpu/command_buffer/service/gpu_preferences.h" |
23 #include "gpu/config/gpu_info.h" | 23 #include "gpu/config/gpu_info.h" |
24 #include "gpu/ipc/service/gpu_channel.h" | 24 #include "gpu/ipc/service/gpu_channel.h" |
25 #include "gpu/ipc/service/gpu_channel_manager.h" | 25 #include "gpu/ipc/service/gpu_channel_manager.h" |
26 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" | 26 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" |
27 #include "gpu/ipc/service/gpu_config.h" | 27 #include "gpu/ipc/service/gpu_config.h" |
28 #include "gpu/ipc/service/x_util.h" | 28 #include "gpu/ipc/service/x_util.h" |
29 #include "mojo/public/cpp/bindings/binding_set.h" | 29 #include "mojo/public/cpp/bindings/binding_set.h" |
30 #include "services/shell/public/interfaces/service_factory.mojom.h" | 30 #include "services/service_manager/public/interfaces/service_factory.mojom.h" |
31 #include "ui/gfx/native_widget_types.h" | 31 #include "ui/gfx/native_widget_types.h" |
32 | 32 |
33 namespace gpu { | 33 namespace gpu { |
34 class GpuMemoryBufferFactory; | 34 class GpuMemoryBufferFactory; |
35 class GpuWatchdogThread; | 35 class GpuWatchdogThread; |
36 class SyncPointManager; | 36 class SyncPointManager; |
37 } | 37 } |
38 | 38 |
39 namespace media { | 39 namespace media { |
40 class MediaGpuChannelManager; | 40 class MediaGpuChannelManager; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 // Bindings to the shell::mojom::ServiceFactory impl. | 165 // Bindings to the shell::mojom::ServiceFactory impl. |
166 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; | 166 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; |
167 | 167 |
168 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 168 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace content | 171 } // namespace content |
172 | 172 |
173 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 173 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
OLD | NEW |