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

Unified Diff: webkit/glue/devtools/js/devtools_host_stub.js

Issue 54002: Make DevTools client survive 'refresh' of the inspectable tab. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/glue/devtools/js/dom_agent.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/devtools_host_stub.js
===================================================================
--- webkit/glue/devtools/js/devtools_host_stub.js (revision 12442)
+++ webkit/glue/devtools/js/devtools_host_stub.js (working copy)
@@ -95,6 +95,10 @@
};
+RemoteDomAgentStub.prototype.DiscardBindings = function() {
+};
+
+
/**
* @constructor
*/
@@ -110,11 +114,12 @@
};
-RemoteToolsAgentStub.prototype.SetDomAgentEnabled = function() {
+RemoteToolsAgentStub.prototype.SetEnabled = function() {
};
-RemoteToolsAgentStub.prototype.SetNetAgentEnabled = function() {
+RemoteToolsAgentStub.prototype.evaluate = function(expr) {
+ window.eval(expr);
};
@@ -136,7 +141,7 @@
RemoteDomAgentStub.sendDocumentElement_();
RemoteDomAgentStub.sendChildNodes_(1);
RemoteDomAgentStub.sendChildNodes_(2);
- toolsAgent.updateFocusedNode(4);
+ devtools.tools.updateFocusedNode(4);
};
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/glue/devtools/js/dom_agent.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698