| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |