| 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 {string} name | 10 * @param {string} name |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 this.debuggerModel.dispose(); | 188 this.debuggerModel.dispose(); |
| 189 this.networkManager.dispose(); | 189 this.networkManager.dispose(); |
| 190 this.debuggerScriptMapping.dispose(); | 190 this.debuggerScriptMapping.dispose(); |
| 191 }, | 191 }, |
| 192 | 192 |
| 193 __proto__: Protocol.Agents.prototype | 193 __proto__: Protocol.Agents.prototype |
| 194 } | 194 } |
| 195 | 195 |
| 196 /** | 196 /** |
| 197 * @constructor | 197 * @constructor |
| 198 * @param {!WebInspector.Target} target | |
| 199 */ | |
| 200 WebInspector.TargetAware = function(target) | |
| 201 { | |
| 202 this._target = target; | |
| 203 } | |
| 204 | |
| 205 WebInspector.TargetAware.prototype = { | |
| 206 /** | |
| 207 * @return {!WebInspector.Target} | |
| 208 */ | |
| 209 target: function() | |
| 210 { | |
| 211 return this._target; | |
| 212 } | |
| 213 } | |
| 214 | |
| 215 /** | |
| 216 * @constructor | |
| 217 * @extends {WebInspector.Object} | 198 * @extends {WebInspector.Object} |
| 218 * @param {!WebInspector.Target} target | 199 * @param {!WebInspector.Target} target |
| 219 */ | 200 */ |
| 220 WebInspector.TargetAwareObject = function(target) | 201 WebInspector.SDKObject = function(target) |
| 221 { | 202 { |
| 222 WebInspector.Object.call(this); | 203 WebInspector.Object.call(this); |
| 223 this._target = target; | 204 this._target = target; |
| 224 } | 205 } |
| 225 | 206 |
| 226 WebInspector.TargetAwareObject.prototype = { | 207 WebInspector.SDKObject.prototype = { |
| 227 /** | 208 /** |
| 228 * @return {!WebInspector.Target} | 209 * @return {!WebInspector.Target} |
| 229 */ | 210 */ |
| 230 target: function() | 211 target: function() |
| 231 { | 212 { |
| 232 return this._target; | 213 return this._target; |
| 233 }, | 214 }, |
| 234 | 215 |
| 235 __proto__: WebInspector.Object.prototype | 216 __proto__: WebInspector.Object.prototype |
| 236 } | 217 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 /** | 323 /** |
| 343 * @param {!WebInspector.Target} target | 324 * @param {!WebInspector.Target} target |
| 344 */ | 325 */ |
| 345 targetRemoved: function(target) { }, | 326 targetRemoved: function(target) { }, |
| 346 } | 327 } |
| 347 | 328 |
| 348 /** | 329 /** |
| 349 * @type {!WebInspector.TargetManager} | 330 * @type {!WebInspector.TargetManager} |
| 350 */ | 331 */ |
| 351 WebInspector.targetManager; | 332 WebInspector.targetManager; |
| OLD | NEW |