| 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_BLACKLIST_H_ | 5 #ifndef CONTENT_BROWSER_GPU_BLACKLIST_H_ |
| 6 #define CONTENT_BROWSER_GPU_BLACKLIST_H_ | 6 #define CONTENT_BROWSER_GPU_BLACKLIST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/common/gpu_feature_flags.h" | 15 #include "content/common/gpu_feature_flags.h" |
| 16 | 16 |
| 17 class DictionaryValue; | 17 class DictionaryValue; |
| 18 class Version; | 18 class Version; |
| 19 struct GPUInfo; | 19 struct GPUInfo; |
| 20 | 20 |
| 21 class GpuBlacklist { | 21 class GpuBlacklist { |
| 22 public: | 22 public: |
| 23 enum OsType { | 23 enum OsType { |
| 24 kOsLinux, | 24 kOsLinux, |
| 25 kOsMacosx, | 25 kOsMacosx, |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 // user machine. It is updated everytime DetermineGpuFeatureFlags() is | 256 // user machine. It is updated everytime DetermineGpuFeatureFlags() is |
| 257 // called and is used later by GetGpuFeatureFlagEntries(). | 257 // called and is used later by GetGpuFeatureFlagEntries(). |
| 258 std::vector<GpuBlacklistEntry*> active_entries_; | 258 std::vector<GpuBlacklistEntry*> active_entries_; |
| 259 | 259 |
| 260 uint32 max_entry_id_; | 260 uint32 max_entry_id_; |
| 261 | 261 |
| 262 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); | 262 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 #endif // CONTENT_BROWSER_GPU_BLACKLIST_H_ | 265 #endif // CONTENT_BROWSER_GPU_BLACKLIST_H_ |
| OLD | NEW |