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

Side by Side Diff: Source/devtools/front_end/profiler/CanvasProfileView.js

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 /** 1019 /**
1020 * @return {!PageAgent.FrameId|undefined} 1020 * @return {!PageAgent.FrameId|undefined}
1021 */ 1021 */
1022 frameId: function() 1022 frameId: function()
1023 { 1023 {
1024 return this._frameId; 1024 return this._frameId;
1025 }, 1025 },
1026 1026
1027 /** 1027 /**
1028 * @override 1028 * @override
1029 * @param {!WebInspector.ProfilesPanel} panel
1029 * @return {!WebInspector.ProfileSidebarTreeElement} 1030 * @return {!WebInspector.ProfileSidebarTreeElement}
1030 */ 1031 */
1031 createSidebarTreeElement: function() 1032 createSidebarTreeElement: function(panel)
1032 { 1033 {
1033 return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar -tree-item"); 1034 return new WebInspector.ProfileSidebarTreeElement(panel, this, "profile- sidebar-tree-item");
1034 }, 1035 },
1035 1036
1036 /** 1037 /**
1037 * @override 1038 * @override
1038 * @return {!WebInspector.CanvasProfileView} 1039 * @return {!WebInspector.CanvasProfileView}
1039 */ 1040 */
1040 createView: function() 1041 createView: function()
1041 { 1042 {
1042 return new WebInspector.CanvasProfileView(this); 1043 return new WebInspector.CanvasProfileView(this);
1043 }, 1044 },
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 }, 1267 },
1267 1268
1268 clearResourceStates: function() 1269 clearResourceStates: function()
1269 { 1270 {
1270 this._currentResourceStates = {}; 1271 this._currentResourceStates = {};
1271 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged); 1272 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged);
1272 }, 1273 },
1273 1274
1274 __proto__: WebInspector.Object.prototype 1275 __proto__: WebInspector.Object.prototype
1275 } 1276 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/profiler/CPUProfileView.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698