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_COMMAND_BUFFER_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_COMMAND_BUFFER_PROXY_H_ |
6 #define CONTENT_RENDERER_COMMAND_BUFFER_PROXY_H_ | 6 #define CONTENT_RENDERER_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_old.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 "gpu/command_buffer/common/command_buffer.h" | 17 #include "gpu/command_buffer/common/command_buffer.h" |
18 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
19 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class SharedMemory; | 22 class SharedMemory; |
23 } | 23 } |
24 | 24 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 scoped_ptr<Callback0::Type> swap_buffers_callback_; | 112 scoped_ptr<Callback0::Type> swap_buffers_callback_; |
113 scoped_ptr<Callback0::Type> channel_error_callback_; | 113 scoped_ptr<Callback0::Type> channel_error_callback_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy); | 115 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy); |
116 }; | 116 }; |
117 | 117 |
118 #endif // ENABLE_GPU | 118 #endif // ENABLE_GPU |
119 | 119 |
120 #endif // CONTENT_RENDERER_COMMAND_BUFFER_PROXY_H_ | 120 #endif // CONTENT_RENDERER_COMMAND_BUFFER_PROXY_H_ |
OLD | NEW |