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

Side by Side Diff: Source/devtools/front_end/sdk/Target.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {Protocol.Agents} 9 * @extends {Protocol.Agents}
10 * @param {!InspectorBackendClass.Connection} connection 10 * @param {!InspectorBackendClass.Connection} connection
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 * @return {number} 42 * @return {number}
43 */ 43 */
44 id: function() 44 id: function()
45 { 45 {
46 return this._id; 46 return this._id;
47 }, 47 },
48 48
49 /** 49 /**
50 * @param {string} name 50 * @param {string} name
51 * @param {function()|null} callback 51 * @param {function()|null} callback
52 * @param {?Protocol.Error} error
53 * @param {*} result
52 */ 54 */
53 _initializeCapability: function(name, callback, error, result) 55 _initializeCapability: function(name, callback, error, result)
54 { 56 {
55 this[name] = result; 57 this[name] = result;
56 if (!Capabilities[name]) 58 if (!Capabilities[name])
57 Capabilities[name] = result; 59 Capabilities[name] = result;
58 if (callback) 60 if (callback)
59 callback(); 61 callback();
60 }, 62 },
61 63
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 /** 292 /**
291 * @param {!WebInspector.Target} target 293 * @param {!WebInspector.Target} target
292 */ 294 */
293 targetRemoved: function(target) { }, 295 targetRemoved: function(target) { },
294 } 296 }
295 297
296 /** 298 /**
297 * @type {!WebInspector.TargetManager} 299 * @type {!WebInspector.TargetManager}
298 */ 300 */
299 WebInspector.targetManager; 301 WebInspector.targetManager;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceScriptMapping.js ('k') | Source/devtools/front_end/sdk/UISourceCode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698