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

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

Issue 308643003: DevTools: [JSDoc] Avoid partial arg list annotations in the "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 /** 283 /**
284 * @param {!HeapProfilerAgent.HeapSnapshotObjectId} snapshotObjectId 284 * @param {!HeapProfilerAgent.HeapSnapshotObjectId} snapshotObjectId
285 * @param {string} perspectiveName 285 * @param {string} perspectiveName
286 */ 286 */
287 showObject: function(snapshotObjectId, perspectiveName) { } 287 showObject: function(snapshotObjectId, perspectiveName) { }
288 } 288 }
289 289
290 /** 290 /**
291 * @constructor 291 * @constructor
292 * @extends {WebInspector.TargetAwareObject} 292 * @extends {WebInspector.TargetAwareObject}
293 * @param {!WebInspector.Target} target
293 * @param {!WebInspector.ProfileType} profileType 294 * @param {!WebInspector.ProfileType} profileType
294 * @param {string} title 295 * @param {string} title
295 */ 296 */
296 WebInspector.ProfileHeader = function(target, profileType, title) 297 WebInspector.ProfileHeader = function(target, profileType, title)
297 { 298 {
298 WebInspector.TargetAwareObject.call(this, target); 299 WebInspector.TargetAwareObject.call(this, target);
299 this._profileType = profileType; 300 this._profileType = profileType;
300 this.title = title; 301 this.title = title;
301 this.uid = profileType._nextProfileUid++; 302 this.uid = profileType._nextProfileUid++;
302 this._fromFile = false; 303 this._fromFile = false;
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 if (this._searchResultsView) { 972 if (this._searchResultsView) {
972 if (this._searchResultsView.searchCanceled) 973 if (this._searchResultsView.searchCanceled)
973 this._searchResultsView.searchCanceled(); 974 this._searchResultsView.searchCanceled();
974 this._searchResultsView.currentQuery = null; 975 this._searchResultsView.currentQuery = null;
975 this._searchResultsView = null; 976 this._searchResultsView = null;
976 } 977 }
977 this._searchableView.updateSearchMatchesCount(0); 978 this._searchableView.updateSearchMatchesCount(0);
978 }, 979 },
979 980
980 /** 981 /**
982 * @param {?Event} event
981 * @param {!WebInspector.ContextMenu} contextMenu 983 * @param {!WebInspector.ContextMenu} contextMenu
982 * @param {!Object} target 984 * @param {!Object} target
983 */ 985 */
984 appendApplicableItems: function(event, contextMenu, target) 986 appendApplicableItems: function(event, contextMenu, target)
985 { 987 {
986 if (!(target instanceof WebInspector.RemoteObject)) 988 if (!(target instanceof WebInspector.RemoteObject))
987 return; 989 return;
988 990
989 if (WebInspector.inspectorView.currentPanel() !== this) 991 if (WebInspector.inspectorView.currentPanel() !== this)
990 return; 992 return;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 /** 1174 /**
1173 * @constructor 1175 * @constructor
1174 * @implements {WebInspector.ContextMenu.Provider} 1176 * @implements {WebInspector.ContextMenu.Provider}
1175 */ 1177 */
1176 WebInspector.ProfilesPanel.ContextMenuProvider = function() 1178 WebInspector.ProfilesPanel.ContextMenuProvider = function()
1177 { 1179 {
1178 } 1180 }
1179 1181
1180 WebInspector.ProfilesPanel.ContextMenuProvider.prototype = { 1182 WebInspector.ProfilesPanel.ContextMenuProvider.prototype = {
1181 /** 1183 /**
1184 * @param {?Event} event
1182 * @param {!WebInspector.ContextMenu} contextMenu 1185 * @param {!WebInspector.ContextMenu} contextMenu
1183 * @param {!Object} target 1186 * @param {!Object} target
1184 */ 1187 */
1185 appendApplicableItems: function(event, contextMenu, target) 1188 appendApplicableItems: function(event, contextMenu, target)
1186 { 1189 {
1187 WebInspector.inspectorView.panel("profiles").appendApplicableItems(event , contextMenu, target); 1190 WebInspector.inspectorView.panel("profiles").appendApplicableItems(event , contextMenu, target);
1188 } 1191 }
1189 } 1192 }
1190 1193
1191 /** 1194 /**
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 importScript("HeapSnapshotCommon.js"); 1341 importScript("HeapSnapshotCommon.js");
1339 importScript("HeapSnapshotProxy.js"); 1342 importScript("HeapSnapshotProxy.js");
1340 importScript("HeapSnapshotDataGrids.js"); 1343 importScript("HeapSnapshotDataGrids.js");
1341 importScript("HeapSnapshotGridNodes.js"); 1344 importScript("HeapSnapshotGridNodes.js");
1342 importScript("HeapSnapshotView.js"); 1345 importScript("HeapSnapshotView.js");
1343 importScript("ProfileLauncherView.js"); 1346 importScript("ProfileLauncherView.js");
1344 importScript("CanvasProfileView.js"); 1347 importScript("CanvasProfileView.js");
1345 importScript("CanvasReplayStateView.js"); 1348 importScript("CanvasReplayStateView.js");
1346 1349
1347 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry (); 1350 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry ();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698