Chromium Code Reviews| Index: content/browser/resources/gpu/info_view.js |
| diff --git a/content/browser/resources/gpu/info_view.js b/content/browser/resources/gpu/info_view.js |
| index 20c6b8e9cc8ca74a9f02a2541ad77e9784853125..674c86697801df03828416789545485aab85270c 100644 |
| --- a/content/browser/resources/gpu/info_view.js |
| +++ b/content/browser/resources/gpu/info_view.js |
| @@ -23,6 +23,7 @@ cr.define('gpu', function() { |
| cr.ui.TabPanel.prototype.decorate.apply(this); |
| browserBridge.addEventListener('gpuInfoUpdate', this.refresh.bind(this)); |
| + browserBridge.addEventListener('gmbInfoUpdate', this.refresh.bind(this)); |
|
reveman
2015/10/28 14:41:07
and here
vignatti (out of this project)
2015/10/28 16:55:25
Done.
|
| browserBridge.addEventListener('logMessagesChange', |
| this.refresh.bind(this)); |
| browserBridge.addEventListener('clientInfoChange', |
| @@ -152,6 +153,7 @@ cr.define('gpu', function() { |
| var workaroundsDiv = this.querySelector('.workarounds-div'); |
| var workaroundsList = this.querySelector('.workarounds-list'); |
| var gpuInfo = browserBridge.gpuInfo; |
| + var gmbInfo = browserBridge.gmbInfo; |
|
reveman
2015/10/28 14:41:07
and here
vignatti (out of this project)
2015/10/28 16:55:25
Done.
|
| var i; |
| if (gpuInfo) { |
| // Not using jstemplate here for blacklist status because we construct |
| @@ -216,6 +218,11 @@ cr.define('gpu', function() { |
| problemsList.hidden = true; |
| workaroundsList.hidden = true; |
| } |
| + if (gmbInfo.gmb_info) |
|
reveman
2015/10/28 14:41:07
here and below
vignatti (out of this project)
2015/10/28 16:55:25
Done.
|
| + this.setTable_('gmb-info', gmbInfo.gmb_info); |
| + else |
| + this.setTable_('gmb-info', []); |
| + |
| if (gpuInfo.basic_info) |
| this.setTable_('basic-info', gpuInfo.basic_info); |
| else |