OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_GPU_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_H_ |
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/linked_ptr.h" | 13 #include "base/linked_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "chrome/browser/browser_child_process_host.h" | 15 #include "chrome/browser/browser_child_process_host.h" |
16 #include "chrome/common/gpu_feature_flags.h" | 16 #include "chrome/common/gpu_feature_flags.h" |
17 #include "gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
18 | 18 |
19 class GpuBlacklist; | 19 class GpuBlacklist; |
20 struct GPUCreateCommandBufferConfig; | 20 struct GPUCreateCommandBufferConfig; |
21 class GPUInfo; | 21 class GPUInfo; |
22 | 22 |
23 namespace IPC { | 23 namespace IPC { |
24 struct ChannelHandle; | 24 struct ChannelHandle; |
25 class Message; | 25 class Message; |
26 } | 26 } |
27 | 27 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 // The pending create command buffer requests we need to reply to. | 111 // The pending create command buffer requests we need to reply to. |
112 std::queue<linked_ptr<CreateCommandBufferCallback> > | 112 std::queue<linked_ptr<CreateCommandBufferCallback> > |
113 create_command_buffer_requests_; | 113 create_command_buffer_requests_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 115 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
116 }; | 116 }; |
117 | 117 |
118 | 118 |
119 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_ | 119 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_ |
OLD | NEW |