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

Side by Side Diff: chrome/browser/resources/profiler.js

Issue 8520016: Complete the rename from about:tracking2 --> about:profiler by changing the implementation code t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try synching again... Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/profiler.html ('k') | chrome/browser/resources/tracking.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 var g_browserBridge; 5 var g_browserBridge;
6 var g_mainView; 6 var g_mainView;
7 7
8 // TODO(eroman): Don't repeat the work of grouping, sorting, merging on every 8 // TODO(eroman): Don't repeat the work of grouping, sorting, merging on every
9 // redraw. Rather do it only once when one of its dependencies 9 // redraw. Rather do it only once when one of its dependencies
10 // change and cache the result. 10 // change and cache the result.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 receivedData: function(data) { 55 receivedData: function(data) {
56 g_mainView.addData(data); 56 g_mainView.addData(data);
57 }, 57 },
58 }; 58 };
59 59
60 return BrowserBridge; 60 return BrowserBridge;
61 })(); 61 })();
62 62
63 /** 63 /**
64 * This class handles the presentation of our tracking view. Used as a 64 * This class handles the presentation of our profiler view. Used as a
65 * singleton. 65 * singleton.
66 */ 66 */
67 var MainView = (function() { 67 var MainView = (function() {
68 'use strict'; 68 'use strict';
69 69
70 // -------------------------------------------------------------------------- 70 // --------------------------------------------------------------------------
71 // Important IDs in the HTML document 71 // Important IDs in the HTML document
72 // -------------------------------------------------------------------------- 72 // --------------------------------------------------------------------------
73 73
74 // The search box to filter results. 74 // The search box to filter results.
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 groupKey.push(entry); 1538 groupKey.push(entry);
1539 } 1539 }
1540 1540
1541 return JSON.stringify(groupKey); 1541 return JSON.stringify(groupKey);
1542 }; 1542 };
1543 }, 1543 },
1544 }; 1544 };
1545 1545
1546 return MainView; 1546 return MainView;
1547 })(); 1547 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/profiler.html ('k') | chrome/browser/resources/tracking.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698