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_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/process.h" | 16 #include "base/process.h" |
17 #include "base/process_util.h" | 17 #include "base/process_util.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "content/common/gpu/client/gpu_video_decode_accelerator_host.h" |
20 #include "content/common/gpu/gpu_process_launch_causes.h" | 21 #include "content/common/gpu/gpu_process_launch_causes.h" |
21 #include "content/common/message_router.h" | 22 #include "content/common/message_router.h" |
22 #include "content/public/common/gpu_info.h" | 23 #include "content/public/common/gpu_info.h" |
23 #include "content/common/gpu/client/gpu_video_decode_accelerator_host.h" | |
24 #include "ipc/ipc_channel_handle.h" | 24 #include "ipc/ipc_channel_handle.h" |
25 #include "ipc/ipc_channel_proxy.h" | 25 #include "ipc/ipc_channel_proxy.h" |
26 #include "ipc/ipc_sync_channel.h" | 26 #include "ipc/ipc_sync_channel.h" |
27 #include "ui/gfx/gl/gpu_preference.h" | |
28 #include "ui/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
29 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
| 29 #include "ui/gl/gpu_preference.h" |
30 | 30 |
31 class CommandBufferProxy; | 31 class CommandBufferProxy; |
32 class CommandBufferProxyImpl; | 32 class CommandBufferProxyImpl; |
33 struct GPUCreateCommandBufferConfig; | 33 struct GPUCreateCommandBufferConfig; |
34 class GURL; | 34 class GURL; |
35 class TransportTextureService; | 35 class TransportTextureService; |
36 class MessageLoop; | 36 class MessageLoop; |
37 | 37 |
38 namespace base { | 38 namespace base { |
39 class MessageLoopProxy; | 39 class MessageLoopProxy; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // for calls from contexts that may live on the compositor or main thread. | 202 // for calls from contexts that may live on the compositor or main thread. |
203 mutable base::Lock context_lock_; | 203 mutable base::Lock context_lock_; |
204 | 204 |
205 // A filter for sending messages from thread other than the main thread. | 205 // A filter for sending messages from thread other than the main thread. |
206 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; | 206 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; |
207 | 207 |
208 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 208 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
209 }; | 209 }; |
210 | 210 |
211 #endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 211 #endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
OLD | NEW |