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_GPU_CHANNEL_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
| 10 #include <vector> |
10 | 11 |
11 #include "base/id_map.h" | 12 #include "base/id_map.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/process.h" | 16 #include "base/process.h" |
16 #include "build/build_config.h" | 17 #include "build/build_config.h" |
17 #include "content/common/gpu/gpu_command_buffer_stub.h" | 18 #include "content/common/gpu/gpu_command_buffer_stub.h" |
18 #include "content/common/gpu/gpu_memory_manager.h" | 19 #include "content/common/gpu/gpu_memory_manager.h" |
19 #include "content/common/message_router.h" | 20 #include "content/common/message_router.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 #if defined(OS_ANDROID) | 204 #if defined(OS_ANDROID) |
204 scoped_ptr<content::StreamTextureManagerAndroid> stream_texture_manager_; | 205 scoped_ptr<content::StreamTextureManagerAndroid> stream_texture_manager_; |
205 #endif | 206 #endif |
206 | 207 |
207 base::WeakPtrFactory<GpuChannel> weak_factory_; | 208 base::WeakPtrFactory<GpuChannel> weak_factory_; |
208 | 209 |
209 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 210 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
210 }; | 211 }; |
211 | 212 |
212 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 213 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
OLD | NEW |