OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMAND_BUFFER_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_ |
6 #define CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_ | 6 #define CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(ENABLE_GPU) | 9 #if defined(ENABLE_GPU) |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <queue> | 12 #include <queue> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/task.h" | |
19 #include "content/renderer/gpu/gpu_video_decode_accelerator_host.h" | 18 #include "content/renderer/gpu/gpu_video_decode_accelerator_host.h" |
20 #include "gpu/command_buffer/common/command_buffer.h" | 19 #include "gpu/command_buffer/common/command_buffer.h" |
21 #include "ipc/ipc_channel.h" | 20 #include "ipc/ipc_channel.h" |
22 #include "ipc/ipc_message.h" | 21 #include "ipc/ipc_message.h" |
23 | 22 |
24 class GpuChannelHost; | 23 class GpuChannelHost; |
25 struct GPUCommandBufferConsoleMessage; | 24 struct GPUCommandBufferConsoleMessage; |
26 | 25 |
27 namespace base { | 26 namespace base { |
28 class SharedMemory; | 27 class SharedMemory; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 base::Closure notify_repaint_task_; | 128 base::Closure notify_repaint_task_; |
130 | 129 |
131 base::Closure channel_error_callback_; | 130 base::Closure channel_error_callback_; |
132 | 131 |
133 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy); | 132 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy); |
134 }; | 133 }; |
135 | 134 |
136 #endif // ENABLE_GPU | 135 #endif // ENABLE_GPU |
137 | 136 |
138 #endif // CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_ | 137 #endif // CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_ |
OLD | NEW |