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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 if (!WebInspector.domStorageModel) | 141 if (!WebInspector.domStorageModel) |
142 WebInspector.domStorageModel = this.domStorageModel; | 142 WebInspector.domStorageModel = this.domStorageModel; |
143 | 143 |
144 /** @type {!WebInspector.CPUProfilerModel} */ | 144 /** @type {!WebInspector.CPUProfilerModel} */ |
145 this.cpuProfilerModel = new WebInspector.CPUProfilerModel(this); | 145 this.cpuProfilerModel = new WebInspector.CPUProfilerModel(this); |
146 if (!WebInspector.cpuProfilerModel) | 146 if (!WebInspector.cpuProfilerModel) |
147 WebInspector.cpuProfilerModel = this.cpuProfilerModel; | 147 WebInspector.cpuProfilerModel = this.cpuProfilerModel; |
148 | 148 |
149 this._debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(thi s.debuggerModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding); | 149 this._debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(thi s.debuggerModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding); |
150 | 150 |
151 /** @type {!WebInspector.LiveEditSupport} */ | |
152 this.liveEditSupport = new WebInspector.LiveEditSupport(this, WebInspect or.workspace); | |
vsevik
2014/06/26 14:16:19
Let's move this to DefaultScriptMapping.
sergeyv
2014/06/26 14:38:35
Done.
| |
153 | |
151 if (callback) | 154 if (callback) |
152 callback(this); | 155 callback(this); |
153 }, | 156 }, |
154 | 157 |
155 /** | 158 /** |
156 * @override | 159 * @override |
157 * @param {string} domain | 160 * @param {string} domain |
158 * @param {!Object} dispatcher | 161 * @param {!Object} dispatcher |
159 */ | 162 */ |
160 registerDispatcher: function(domain, dispatcher) | 163 registerDispatcher: function(domain, dispatcher) |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
338 /** | 341 /** |
339 * @param {!WebInspector.Target} target | 342 * @param {!WebInspector.Target} target |
340 */ | 343 */ |
341 targetRemoved: function(target) { }, | 344 targetRemoved: function(target) { }, |
342 } | 345 } |
343 | 346 |
344 /** | 347 /** |
345 * @type {!WebInspector.TargetManager} | 348 * @type {!WebInspector.TargetManager} |
346 */ | 349 */ |
347 WebInspector.targetManager; | 350 WebInspector.targetManager; |
OLD | NEW |