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

Side by Side Diff: webkit/glue/devtools/js/devtools_host_stub.js

Issue 115864: DevTools: Fix standalone mode for Inspector frontend. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview These stubs emulate backend functionality and allows 6 * @fileoverview These stubs emulate backend functionality and allows
7 * DevTools frontend to function as a standalone web app. 7 * DevTools frontend to function as a standalone web app.
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 * @constructor 258 * @constructor
259 */ 259 */
260 DevToolsHostStub = function() { 260 DevToolsHostStub = function() {
261 }; 261 };
262 262
263 263
264 DevToolsHostStub.prototype.loaded = function() { 264 DevToolsHostStub.prototype.loaded = function() {
265 RemoteDomAgentStub.sendDocumentElement_(); 265 RemoteDomAgentStub.sendDocumentElement_();
266 RemoteDomAgentStub.sendChildNodes_(1); 266 RemoteDomAgentStub.sendChildNodes_(1);
267 RemoteDomAgentStub.sendChildNodes_(2); 267 RemoteDomAgentStub.sendChildNodes_(2);
268 devtools.tools.updateFocusedNode(4); 268 devtools.tools.updateFocusedNode_(4);
269 devtools.tools.addMessageToConsole('message', 'source', 3); 269 devtools.tools.addMessageToConsole_('message', 'source', 3);
270 }; 270 };
271 271
272 272
273 if (!window['DevToolsHost']) { 273 if (!window['DevToolsHost']) {
274 window['RemoteDebuggerAgent'] = new RemoteDebuggerAgentStub(); 274 window['RemoteDebuggerAgent'] = new RemoteDebuggerAgentStub();
275 window['RemoteDebuggerCommandExecutor'] = 275 window['RemoteDebuggerCommandExecutor'] =
276 new RemoteDebuggerCommandExecutorStub(); 276 new RemoteDebuggerCommandExecutorStub();
277 window['RemoteDomAgent'] = new RemoteDomAgentStub(); 277 window['RemoteDomAgent'] = new RemoteDomAgentStub();
278 window['RemoteToolsAgent'] = new RemoteToolsAgentStub(); 278 window['RemoteToolsAgent'] = new RemoteToolsAgentStub();
279 window['DevToolsHost'] = new DevToolsHostStub(); 279 window['DevToolsHost'] = new DevToolsHostStub();
280 } 280 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698