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

Unified Diff: webkit/glue/webdevtoolsagent_impl.cc

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
« webkit/glue/devtools/js/tests.js ('K') | « webkit/glue/webdevtoolsagent_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.cc
===================================================================
--- webkit/glue/webdevtoolsagent_impl.cc (revision 21519)
+++ webkit/glue/webdevtoolsagent_impl.cc (working copy)
@@ -213,6 +213,15 @@
result, exception);
}
+void WebDevToolsAgentImpl::EvaluateJavaScript(
+ int call_id,
+ const WebCore::String& source) {
+ String exception;
+ String result = debugger_agent_impl_->EvaluateJavaScript(utility_context_,
+ source, &exception);
+ tools_agent_delegate_stub_->DidEvaluateJavaScript(call_id, result, exception);
+}
+
void WebDevToolsAgentImpl::ClearConsoleMessages() {
Page* page = web_view_impl_->page();
if (page) {
« webkit/glue/devtools/js/tests.js ('K') | « webkit/glue/webdevtoolsagent_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698