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

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

Issue 7555005: Moving the contents of chrome://gpu Profiling to chrome://tracing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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) 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 */
11 cr.define('gpu', function() { 11 cr.define('gpu', function() {
12 /** 12 /**
13 * Provides information on the GPU process and underlying graphics hardware. 13 * Provides information on the GPU process and underlying graphics hardware.
14 * @constructor 14 * @constructor
15 * @extends {Tab} 15 * @extends {cr.ui.TabPanel}
16 */ 16 */
17 var InfoView = cr.ui.define(cr.ui.TabPanel); 17 var InfoView = cr.ui.define(cr.ui.TabPanel);
18 18
19 InfoView.prototype = { 19 InfoView.prototype = {
20 __proto__: cr.ui.TabPanel.prototype, 20 __proto__: cr.ui.TabPanel.prototype,
21 21
22 decorate: function() { 22 decorate: function() {
23 cr.ui.TabPanel.prototype.decorate.apply(this); 23 cr.ui.TabPanel.prototype.decorate.apply(this);
24 24
25 browserBridge.addEventListener('gpuInfoUpdate', this.refresh.bind(this)); 25 browserBridge.addEventListener('gpuInfoUpdate', this.refresh.bind(this));
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 peg.innerHTML = ''; 240 peg.innerHTML = '';
241 peg.appendChild(template); 241 peg.appendChild(template);
242 } 242 }
243 }; 243 };
244 244
245 return { 245 return {
246 InfoView: InfoView 246 InfoView: InfoView
247 }; 247 };
248 }); 248 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/gpu_internals/fast_rect_renderer.js ('k') | chrome/browser/resources/gpu_internals/overlay.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698