| 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 /** |
| 8 * @constructor | 8 * @constructor |
| 9 * @extends {Protocol.Agents} | 9 * @extends {Protocol.Agents} |
| 10 * @param {!WebInspector.TargetManager} targetManager | 10 * @param {!WebInspector.TargetManager} targetManager |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 /** | 69 /** |
| 70 * | 70 * |
| 71 * @return {!WebInspector.TargetManager} | 71 * @return {!WebInspector.TargetManager} |
| 72 */ | 72 */ |
| 73 targetManager: function() | 73 targetManager: function() |
| 74 { | 74 { |
| 75 return this._targetManager; | 75 return this._targetManager; |
| 76 }, | 76 }, |
| 77 | 77 |
| 78 /** | 78 /** |
| 79 * |
| 80 * @return {!InspectorBackendClass.Connection} |
| 81 */ |
| 82 connection: function() |
| 83 { |
| 84 return this._connection; |
| 85 }, |
| 86 |
| 87 /** |
| 79 * @param {string} label | 88 * @param {string} label |
| 80 * @return {string} | 89 * @return {string} |
| 81 */ | 90 */ |
| 82 decorateLabel: function(label) | 91 decorateLabel: function(label) |
| 83 { | 92 { |
| 84 return this.isWorker() ? "\u2699 " + label : label; | 93 return this.isWorker() ? "\u2699 " + label : label; |
| 85 }, | 94 }, |
| 86 | 95 |
| 87 /** | 96 /** |
| 88 * @override | 97 * @override |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 { | 270 { |
| 262 var target = /** @type {!WebInspector.Target} */ (event.data); | 271 var target = /** @type {!WebInspector.Target} */ (event.data); |
| 263 if (target !== this._target) | 272 if (target !== this._target) |
| 264 return; | 273 return; |
| 265 this.dispose(); | 274 this.dispose(); |
| 266 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage
r.Events.TargetDisposed, this._targetDisposed, this); | 275 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage
r.Events.TargetDisposed, this._targetDisposed, this); |
| 267 }, | 276 }, |
| 268 | 277 |
| 269 __proto__: WebInspector.SDKObject.prototype | 278 __proto__: WebInspector.SDKObject.prototype |
| 270 } | 279 } |
| OLD | NEW |