| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 /** | 71 /** |
| 72 * @param {number} capabilitiesMask | 72 * @param {number} capabilitiesMask |
| 73 * @return {boolean} | 73 * @return {boolean} |
| 74 */ | 74 */ |
| 75 hasAllCapabilities: function(capabilitiesMask) | 75 hasAllCapabilities: function(capabilitiesMask) |
| 76 { | 76 { |
| 77 return (this._capabilitiesMask & capabilitiesMask) === capabilitiesMask; | 77 return (this._capabilitiesMask & capabilitiesMask) === capabilitiesMask; |
| 78 }, | 78 }, |
| 79 | 79 |
| 80 /** | 80 /** |
| 81 * | |
| 82 * @return {!InspectorBackendClass.Connection} | 81 * @return {!InspectorBackendClass.Connection} |
| 83 */ | 82 */ |
| 84 connection: function() | 83 connection: function() |
| 85 { | 84 { |
| 86 return this._connection; | 85 return this._connection; |
| 87 }, | 86 }, |
| 88 | 87 |
| 89 /** | 88 /** |
| 90 * @param {string} label | 89 * @param {string} label |
| 91 * @return {string} | 90 * @return {string} |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 { | 286 { |
| 288 var target = /** @type {!WebInspector.Target} */ (event.data); | 287 var target = /** @type {!WebInspector.Target} */ (event.data); |
| 289 if (target !== this._target) | 288 if (target !== this._target) |
| 290 return; | 289 return; |
| 291 this.dispose(); | 290 this.dispose(); |
| 292 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage
r.Events.TargetDisposed, this._targetDisposed, this); | 291 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage
r.Events.TargetDisposed, this._targetDisposed, this); |
| 293 }, | 292 }, |
| 294 | 293 |
| 295 __proto__: WebInspector.SDKObject.prototype | 294 __proto__: WebInspector.SDKObject.prototype |
| 296 } | 295 } |
| OLD | NEW |