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_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/public/common/gpu_feature_type.h" | 11 #include "content/public/common/gpu_feature_type.h" |
| 12 #include "content/public/common/gpu_switching_option.h" |
12 | 13 |
13 class FilePath; | 14 class FilePath; |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class ListValue; | 17 class ListValue; |
17 } | 18 } |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 | 21 |
21 class GpuDataManagerObserver; | 22 class GpuDataManagerObserver; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual void AddObserver(GpuDataManagerObserver* observer) = 0; | 87 virtual void AddObserver(GpuDataManagerObserver* observer) = 0; |
87 virtual void RemoveObserver(GpuDataManagerObserver* observer) = 0; | 88 virtual void RemoveObserver(GpuDataManagerObserver* observer) = 0; |
88 | 89 |
89 protected: | 90 protected: |
90 virtual ~GpuDataManager() {} | 91 virtual ~GpuDataManager() {} |
91 }; | 92 }; |
92 | 93 |
93 }; // namespace content | 94 }; // namespace content |
94 | 95 |
95 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 96 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
OLD | NEW |