Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 5 |
| 6 /** | 6 /** |
| 7 * @fileoverview This view displays information on the current GPU | 7 * @fileoverview This view displays information on the current GPU |
| 8 * hardware. Its primary usefulness is to allow users to copy-paste | 8 * hardware. Its primary usefulness is to allow users to copy-paste |
| 9 * their data in an easy to read format for bug reports. | 9 * their data in an easy to read format for bug reports. |
| 10 */ | 10 */ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 ' ' + this.clientInfo_.cl + | 72 ' ' + this.clientInfo_.cl + |
| 73 ') ' + this.clientInfo_.version_mod; | 73 ') ' + this.clientInfo_.version_mod; |
| 74 this.setTable_('client-info', [ | 74 this.setTable_('client-info', [ |
| 75 { | 75 { |
| 76 description: 'Data exported', | 76 description: 'Data exported', |
| 77 value: (new Date()).toLocaleString() | 77 value: (new Date()).toLocaleString() |
| 78 }, | 78 }, |
| 79 { | 79 { |
| 80 description: 'Chrome version', | 80 description: 'Chrome version', |
| 81 value: chromeVersion | 81 value: chromeVersion |
| 82 }, | |
| 83 { | |
| 84 description: 'Software rendering list version', | |
|
nduca
2011/04/05 01:16:03
GPU database version?
| |
| 85 value: this.clientInfo_.blacklist_version | |
| 82 }]); | 86 }]); |
| 83 } else { | 87 } else { |
| 84 this.setText_('client-info', '... loading...'); | 88 this.setText_('client-info', '... loading...'); |
| 85 } | 89 } |
| 86 | 90 |
| 87 // GPU info, basic | 91 // GPU info, basic |
| 88 var diagnostics = this.querySelector('.diagnostics'); | 92 var diagnostics = this.querySelector('.diagnostics'); |
| 89 var blacklistedIndicator = this.querySelector('.blacklisted-indicator'); | 93 var blacklistedIndicator = this.querySelector('.blacklisted-indicator'); |
| 90 var gpuInfo = browserBridge.gpuInfo; | 94 var gpuInfo = browserBridge.gpuInfo; |
| 91 if (gpuInfo) { | 95 if (gpuInfo) { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 | 193 |
| 190 peg.innerHTML = ''; | 194 peg.innerHTML = ''; |
| 191 peg.appendChild(template); | 195 peg.appendChild(template); |
| 192 } | 196 } |
| 193 }; | 197 }; |
| 194 | 198 |
| 195 return { | 199 return { |
| 196 InfoView: InfoView | 200 InfoView: InfoView |
| 197 }; | 201 }; |
| 198 }); | 202 }); |
| OLD | NEW |