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

Unified Diff: webkit/glue/devtools/tools_agent.h

Issue 160012: DevTools: make pause work for script evaluations (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
Index: webkit/glue/devtools/tools_agent.h
===================================================================
--- webkit/glue/devtools/tools_agent.h (revision 21519)
+++ webkit/glue/devtools/tools_agent.h (working copy)
@@ -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 @@
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 */) \
\

Powered by Google App Engine
This is Rietveld 408576698