summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/tools_agent.h
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 09:17:23 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 09:17:23 +0000
commitb56c6b97fd50cd716b1652bdd2f8dfa90219c2e1 (patch)
treebe94d68f24399f79d8a4161b893aabda0dce1c9f /webkit/glue/devtools/tools_agent.h
parentc934ed3d16c3ce6f50346bb365d30b714444db05 (diff)
downloadchromium_src-b56c6b97fd50cd716b1652bdd2f8dfa90219c2e1.zip
chromium_src-b56c6b97fd50cd716b1652bdd2f8dfa90219c2e1.tar.gz
chromium_src-b56c6b97fd50cd716b1652bdd2f8dfa90219c2e1.tar.bz2
DevTools: split console evaluation into two steps: actual evaluation and result
wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21635 Review URL: http://codereview.chromium.org/159395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/tools_agent.h')
-rw-r--r--webkit/glue/devtools/tools_agent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/devtools/tools_agent.h b/webkit/glue/devtools/tools_agent.h
index ae1e15e..be72dc8 100644
--- a/webkit/glue/devtools/tools_agent.h
+++ b/webkit/glue/devtools/tools_agent.h
@@ -20,6 +20,9 @@
METHOD3(ExecuteUtilityFunction, int /* call_id */, \
String /* function_name */, String /* json_args */) \
\
+ /* Requests that the js source is executed within the inspected page. */ \
+ METHOD2(EvaluateJavaScript, int /* call_id */, String /* source*/) \
+ \
/* Clears cached console messages. */ \
METHOD0(ClearConsoleMessages) \
\
@@ -44,6 +47,10 @@ DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
METHOD3(DidExecuteUtilityFunction, int /* call_id */, String /* result */, \
String /* exception */) \
\
+ /* Response to the EvaluateJavaScript. */ \
+ METHOD3(DidEvaluateJavaScript, int /* call_id */, String /* result */, \
+ String /* exception */) \
+ \
/* Sends InspectorFrontend message to be dispatched on client. */ \
METHOD1(DispatchOnClient, String /* data */) \
\