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

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 test 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 /** @type {!WebInspector.DOMStorageModel} */ 139 /** @type {!WebInspector.DOMStorageModel} */
140 this.domStorageModel = new WebInspector.DOMStorageModel(this); 140 this.domStorageModel = new WebInspector.DOMStorageModel(this);
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 /** @type {!WebInspector.DebuggerScriptMapping} */
150 this.debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(this .debuggerModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding);
150 151
151 if (callback) 152 if (callback)
152 callback(this); 153 callback(this);
153 }, 154 },
154 155
155 /** 156 /**
156 * @override 157 * @override
157 * @param {string} domain 158 * @param {string} domain
158 * @param {!Object} dispatcher 159 * @param {!Object} dispatcher
159 */ 160 */
(...skipping 16 matching lines...) Expand all
176 isMobile: function() 177 isMobile: function()
177 { 178 {
178 // FIXME: either add a separate capability or rename canScreencast to is Mobile. 179 // FIXME: either add a separate capability or rename canScreencast to is Mobile.
179 return this.canScreencast; 180 return this.canScreencast;
180 }, 181 },
181 182
182 dispose: function() 183 dispose: function()
183 { 184 {
184 this.debuggerModel.dispose(); 185 this.debuggerModel.dispose();
185 this.networkManager.dispose(); 186 this.networkManager.dispose();
186 this._debuggerScriptMapping.dispose(); 187 this.debuggerScriptMapping.dispose();
187 }, 188 },
188 189
189 __proto__: Protocol.Agents.prototype 190 __proto__: Protocol.Agents.prototype
190 } 191 }
191 192
192 /** 193 /**
193 * @constructor 194 * @constructor
194 * @param {!WebInspector.Target} target 195 * @param {!WebInspector.Target} target
195 */ 196 */
196 WebInspector.TargetAware = function(target) 197 WebInspector.TargetAware = function(target)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 /** 339 /**
339 * @param {!WebInspector.Target} target 340 * @param {!WebInspector.Target} target
340 */ 341 */
341 targetRemoved: function(target) { }, 342 targetRemoved: function(target) { },
342 } 343 }
343 344
344 /** 345 /**
345 * @type {!WebInspector.TargetManager} 346 * @type {!WebInspector.TargetManager}
346 */ 347 */
347 WebInspector.targetManager; 348 WebInspector.targetManager;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceScriptMapping.js ('k') | Source/devtools/front_end/sources/JavaScriptSourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698