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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 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
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 * @unrestricted 8 * @unrestricted
9 */ 9 */
10 SDK.TargetManager = class extends Common.Object { 10 SDK.TargetManager = class extends Common.Object {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 395
396 /** 396 /**
397 * @interface 397 * @interface
398 */ 398 */
399 SDK.TargetManager.Observer = function() {}; 399 SDK.TargetManager.Observer = function() {};
400 400
401 SDK.TargetManager.Observer.prototype = { 401 SDK.TargetManager.Observer.prototype = {
402 /** 402 /**
403 * @param {!SDK.Target} target 403 * @param {!SDK.Target} target
404 */ 404 */
405 targetAdded: function(target) {}, 405 targetAdded(target) {},
406 406
407 /** 407 /**
408 * @param {!SDK.Target} target 408 * @param {!SDK.Target} target
409 */ 409 */
410 targetRemoved: function(target) {}, 410 targetRemoved(target) {},
411 }; 411 };
412 412
413 /** 413 /**
414 * @type {!SDK.TargetManager} 414 * @type {!SDK.TargetManager}
415 */ 415 */
416 SDK.targetManager = new SDK.TargetManager(); 416 SDK.targetManager = new SDK.TargetManager();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698