| OLD | NEW |
| 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 * @unrestricted | 8 * @unrestricted |
| 8 */ | 9 */ |
| 9 WebInspector.TargetManager = class extends WebInspector.Object { | 10 WebInspector.TargetManager = class extends WebInspector.Object { |
| 10 constructor() { | 11 constructor() { |
| 11 super(); | 12 super(); |
| 12 /** @type {!Array.<!WebInspector.Target>} */ | 13 /** @type {!Array.<!WebInspector.Target>} */ |
| 13 this._targets = []; | 14 this._targets = []; |
| 14 /** @type {!Array.<!WebInspector.TargetManager.Observer>} */ | 15 /** @type {!Array.<!WebInspector.TargetManager.Observer>} */ |
| 15 this._observers = []; | 16 this._observers = []; |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 /** | 413 /** |
| 413 * @param {!WebInspector.Target} target | 414 * @param {!WebInspector.Target} target |
| 414 */ | 415 */ |
| 415 targetRemoved: function(target) {}, | 416 targetRemoved: function(target) {}, |
| 416 }; | 417 }; |
| 417 | 418 |
| 418 /** | 419 /** |
| 419 * @type {!WebInspector.TargetManager} | 420 * @type {!WebInspector.TargetManager} |
| 420 */ | 421 */ |
| 421 WebInspector.targetManager = new WebInspector.TargetManager(); | 422 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |