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

Side by Side Diff: chrome/browser/resources/gpu_internals/info_view.js

Issue 10378027: Fix presubmit js style nits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 197 }
198 } else { 198 } else {
199 this.setText_('basic-info', '... loading ...'); 199 this.setText_('basic-info', '... loading ...');
200 diagnosticsDiv.hidden = true; 200 diagnosticsDiv.hidden = true;
201 featureStatusList.textContent = ''; 201 featureStatusList.textContent = '';
202 problemsDiv.hidden = true; 202 problemsDiv.hidden = true;
203 } 203 }
204 204
205 // Crash list 205 // Crash list
206 jstProcess(new JsEvalContext({values: browserBridge.crashList}), 206 jstProcess(new JsEvalContext({values: browserBridge.crashList}),
207 document.getElementById('crash-list')); 207 $('crash-list'));
208 208
209 // Log messages 209 // Log messages
210 jstProcess(new JsEvalContext({values: browserBridge.logMessages}), 210 jstProcess(new JsEvalContext({values: browserBridge.logMessages}),
211 document.getElementById('log-messages')); 211 $('log-messages'));
212 }, 212 },
213 213
214 createProblemEl_: function(problem) { 214 createProblemEl_: function(problem) {
215 var problemEl; 215 var problemEl;
216 problemEl = document.createElement('li'); 216 problemEl = document.createElement('li');
217 217
218 // Description of issue 218 // Description of issue
219 var desc = document.createElement('a'); 219 var desc = document.createElement('a');
220 desc.textContent = problem.description; 220 desc.textContent = problem.description;
221 problemEl.appendChild(desc); 221 problemEl.appendChild(desc);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 peg.innerHTML = ''; 282 peg.innerHTML = '';
283 peg.appendChild(template); 283 peg.appendChild(template);
284 } 284 }
285 }; 285 };
286 286
287 return { 287 return {
288 InfoView: InfoView 288 InfoView: InfoView
289 }; 289 };
290 }); 290 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698