Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: Source/devtools/front_end/sdk/Target.js

Issue 352953002: DevTools: properly support targets in LiveEditSupport (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix live edit Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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);
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
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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698