| 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 {WebInspector.Object} | 9 * @extends {WebInspector.Object} |
| 10 */ | 10 */ |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 /** | 72 /** |
| 73 * @return {boolean} | 73 * @return {boolean} |
| 74 */ | 74 */ |
| 75 allTargetsSuspended: function() | 75 allTargetsSuspended: function() |
| 76 { | 76 { |
| 77 return this._isSuspended; | 77 return this._isSuspended; |
| 78 }, | 78 }, |
| 79 | 79 |
| 80 /** | 80 /** |
| 81 * @return {string} |
| 82 */ |
| 83 inspectedURL: function() |
| 84 { |
| 85 return this._targets[0] ? this._targets[0].inspectedURL() : ""; |
| 86 }, |
| 87 |
| 88 /** |
| 81 * @param {!WebInspector.Event} event | 89 * @param {!WebInspector.Event} event |
| 82 */ | 90 */ |
| 83 _redispatchEvent: function(event) | 91 _redispatchEvent: function(event) |
| 84 { | 92 { |
| 85 this.dispatchEventToListeners(event.type, event.data); | 93 this.dispatchEventToListeners(event.type, event.data); |
| 86 }, | 94 }, |
| 87 | 95 |
| 88 /** | 96 /** |
| 89 * @param {boolean=} bypassCache | 97 * @param {boolean=} bypassCache |
| 90 * @param {string=} injectedScript | 98 * @param {string=} injectedScript |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 /** | 333 /** |
| 326 * @param {!WebInspector.Target} target | 334 * @param {!WebInspector.Target} target |
| 327 */ | 335 */ |
| 328 targetRemoved: function(target) { }, | 336 targetRemoved: function(target) { }, |
| 329 } | 337 } |
| 330 | 338 |
| 331 /** | 339 /** |
| 332 * @type {!WebInspector.TargetManager} | 340 * @type {!WebInspector.TargetManager} |
| 333 */ | 341 */ |
| 334 WebInspector.targetManager = new WebInspector.TargetManager(); | 342 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |