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 CONTENT_BROWSER_GPU_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_GPU_PROCESS_HOST_H_ |
6 #define CONTENT_BROWSER_GPU_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_GPU_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/threading/non_thread_safe.h" | 9 #include "base/threading/non_thread_safe.h" |
10 #include "chrome/common/gpu_feature_flags.h" | |
11 #include "content/browser/browser_child_process_host.h" | 10 #include "content/browser/browser_child_process_host.h" |
| 11 #include "content/common/gpu_feature_flags.h" |
12 | 12 |
13 namespace IPC { | 13 namespace IPC { |
14 class Message; | 14 class Message; |
15 } | 15 } |
16 | 16 |
17 class GpuProcessHost : public BrowserChildProcessHost, | 17 class GpuProcessHost : public BrowserChildProcessHost, |
18 public base::NonThreadSafe { | 18 public base::NonThreadSafe { |
19 public: | 19 public: |
20 | 20 |
21 // Create a GpuProcessHost with the given ID. The object can be found using | 21 // Create a GpuProcessHost with the given ID. The object can be found using |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. | 54 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. |
55 int host_id_; | 55 int host_id_; |
56 | 56 |
57 GpuFeatureFlags gpu_feature_flags_; | 57 GpuFeatureFlags gpu_feature_flags_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 59 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
60 }; | 60 }; |
61 | 61 |
62 #endif // CONTENT_BROWSER_GPU_PROCESS_HOST_H_ | 62 #endif // CONTENT_BROWSER_GPU_PROCESS_HOST_H_ |
OLD | NEW |