Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: content/browser/gpu_blacklist.h

Issue 6712048: Implement easy GPU feature status summary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor tweak. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu_blacklist.h
diff --git a/content/browser/gpu_blacklist.h b/content/browser/gpu_blacklist.h
index 54bc9d2ea2b6d316243b95fbacc198d1ec8aa261..8c8724fd4e780aeabb6bbde0f51752537ca2377f 100644
--- a/content/browser/gpu_blacklist.h
+++ b/content/browser/gpu_blacklist.h
@@ -61,15 +61,25 @@ class GpuBlacklist {
std::vector<uint32>& entry_ids) const;
- // Returns an array of entries, each entry of which has
- // description, cr_bugs, and webkit_bugs explaining reason for
- // blacklisting, e.g.:
- // [{
+ // Returns status information on the blacklist. This is two parted:
+ // {
+ // featureStatus: []
+ // problems: []
+ // }
+ //
+ // Each entry in feature_status has:
+ // {
+ // name: "name of feature"
+ // status: "enabled" | "unavailable" | "software";
+ // }
+ //
+ // Each problems has:
+ // {
// "description": "Your GPU is too old",
- // "cr_bugs": [1234],
- // "webkit_bugs": []
- // }]
- Value* GetBlacklistingReasons() const;
+ // "crBugs": [1234],
+ // "webkitBugs": []
+ // }
+ Value* GetFeatureStatus(bool gpuAccessAllowed) const;
zmo 2011/04/11 23:10:25 gpu_access_allowed
// Return the largest entry id. This is used for histogramming.
uint32 max_entry_id() const;

Powered by Google App Engine
This is Rietveld 408576698