| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 /** | 102 /** |
| 103 * @param {!WebInspector.Event} event | 103 * @param {!WebInspector.Event} event |
| 104 */ | 104 */ |
| 105 _redispatchEvent: function(event) | 105 _redispatchEvent: function(event) |
| 106 { | 106 { |
| 107 this.dispatchEventToListeners(event.type, event.data); | 107 this.dispatchEventToListeners(event.type, event.data); |
| 108 }, | 108 }, |
| 109 | 109 |
| 110 /** | 110 /** |
| 111 * @param {boolean=} ignoreCache | 111 * @param {boolean=} bypassCache |
| 112 * @param {string=} injectedScript | 112 * @param {string=} injectedScript |
| 113 */ | 113 */ |
| 114 reloadPage: function(ignoreCache, injectedScript) | 114 reloadPage: function(bypassCache, injectedScript) |
| 115 { | 115 { |
| 116 if (this._targets.length) | 116 if (this._targets.length) |
| 117 this._targets[0].resourceTreeModel.reloadPage(ignoreCache, injectedS
cript); | 117 this._targets[0].resourceTreeModel.reloadPage(bypassCache, injectedS
cript); |
| 118 }, | 118 }, |
| 119 | 119 |
| 120 /** | 120 /** |
| 121 * @param {!Function} modelClass | 121 * @param {!Function} modelClass |
| 122 * @param {string} eventType | 122 * @param {string} eventType |
| 123 * @param {function(!WebInspector.Event)} listener | 123 * @param {function(!WebInspector.Event)} listener |
| 124 * @param {!Object=} thisObject | 124 * @param {!Object=} thisObject |
| 125 */ | 125 */ |
| 126 addModelListener: function(modelClass, eventType, listener, thisObject) | 126 addModelListener: function(modelClass, eventType, listener, thisObject) |
| 127 { | 127 { |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 /** | 376 /** |
| 377 * @param {!WebInspector.Target} target | 377 * @param {!WebInspector.Target} target |
| 378 */ | 378 */ |
| 379 targetRemoved: function(target) { }, | 379 targetRemoved: function(target) { }, |
| 380 } | 380 } |
| 381 | 381 |
| 382 /** | 382 /** |
| 383 * @type {!WebInspector.TargetManager} | 383 * @type {!WebInspector.TargetManager} |
| 384 */ | 384 */ |
| 385 WebInspector.targetManager = new WebInspector.TargetManager(); | 385 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |