diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 18:17:40 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 18:17:40 +0000 |
commit | 7a1332522d6569f5edeced8c767b438590b76367 (patch) | |
tree | a26d732fcaf8be69b372d632ade23da2d315fe3a /chrome/browser/ui | |
parent | be58795d0c347769c7b18d992ef6b029d4cef747 (diff) | |
download | chromium_src-7a1332522d6569f5edeced8c767b438590b76367.zip chromium_src-7a1332522d6569f5edeced8c767b438590b76367.tar.gz chromium_src-7a1332522d6569f5edeced8c767b438590b76367.tar.bz2 |
Implement easy GPU feature status summary.
The associated bug shows screenshots of about:gpu with this cl applied.
BUG=75719
Review URL: http://codereview.chromium.org/6712048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r-- | chrome/browser/ui/webui/gpu_internals_ui.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/webui/gpu_internals_ui.cc b/chrome/browser/ui/webui/gpu_internals_ui.cc index 216c5c8..72f2482 100644 --- a/chrome/browser/ui/webui/gpu_internals_ui.cc +++ b/chrome/browser/ui/webui/gpu_internals_ui.cc @@ -382,10 +382,10 @@ void GpuMessageHandler::OnGpuInfoUpdate() { // Get GPU Info. DictionaryValue* gpu_info_val = GpuInfoToDict(gpu_info); - // Add in blacklisting reasons - Value* blacklisting_reasons = gpu_data_manager_->GetBlacklistingReasons(); - if (blacklisting_reasons) - gpu_info_val->Set("blacklistingReasons", blacklisting_reasons); + // Add in blacklisting features + Value* feature_status = gpu_data_manager_->GetFeatureStatus(); + if (feature_status) + gpu_info_val->Set("featureStatus", feature_status); // Send GPU Info to javascript. web_ui_->CallJavascriptFunction("browserBridge.onGpuInfoUpdate", |