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_GPU_GPU_CHILD_THREAD_H_ | 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ |
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ | 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "content/common/child_thread.h" | 16 #include "content/child/child_thread.h" |
17 #include "content/common/gpu/gpu_channel.h" | 17 #include "content/common/gpu/gpu_channel.h" |
18 #include "content/common/gpu/gpu_channel_manager.h" | 18 #include "content/common/gpu/gpu_channel_manager.h" |
19 #include "content/common/gpu/gpu_config.h" | 19 #include "content/common/gpu/gpu_config.h" |
20 #include "content/common/gpu/x_util.h" | 20 #include "content/common/gpu/x_util.h" |
21 #include "gpu/config/gpu_info.h" | 21 #include "gpu/config/gpu_info.h" |
22 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
23 | 23 |
24 namespace sandbox { | 24 namespace sandbox { |
25 class TargetServices; | 25 class TargetServices; |
26 } | 26 } |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 // Whether the GPU thread is running in the browser process. | 87 // Whether the GPU thread is running in the browser process. |
88 bool in_browser_process_; | 88 bool in_browser_process_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 90 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace content | 93 } // namespace content |
94 | 94 |
95 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 95 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
OLD | NEW |