summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/devtools_agent.cc
diff options
context:
space:
mode:
authormnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 15:05:07 +0000
committermnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 15:05:07 +0000
commit9f0c93f205ffc12010df25455dc776121fe6da0a (patch)
tree90307212ef56da83a9b9697f569735de5f8f20d5 /chrome/renderer/devtools_agent.cc
parent86c3d9ef4fdf6a70869bc9b026bee09c19219b8e (diff)
downloadchromium_src-9f0c93f205ffc12010df25455dc776121fe6da0a.zip
chromium_src-9f0c93f205ffc12010df25455dc776121fe6da0a.tar.gz
chromium_src-9f0c93f205ffc12010df25455dc776121fe6da0a.tar.bz2
Re-apply 34040. Now after 34055 build should succeed.
BUG=28689 TEST=none TBR=pfeldman@chromium.org Review URL: http://codereview.chromium.org/465120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.cc')
-rw-r--r--chrome/renderer/devtools_agent.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc
index aad6ceb..d1e81e2 100644
--- a/chrome/renderer/devtools_agent.cc
+++ b/chrome/renderer/devtools_agent.cc
@@ -6,6 +6,7 @@
#include "chrome/common/devtools_messages.h"
#include "chrome/common/render_messages.h"
+#include "chrome/renderer/devtools_agent_filter.h"
#include "chrome/renderer/render_view.h"
#include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPoint.h"
@@ -151,3 +152,18 @@ WebDevToolsAgent* DevToolsAgent::GetWebAgent() {
return NULL;
return web_view->devToolsAgent();
}
+
+// static
+void WebKit::WebDevToolsAgentClient::sendMessageToFrontendOnIOThread(
+ const WebString& class_name,
+ const WebString& method_name,
+ const WebString& param1,
+ const WebString& param2,
+ const WebString& param3) {
+ DevToolsAgentFilter::SendRpcMessage(
+ class_name.utf8(),
+ method_name.utf8(),
+ param1.utf8(),
+ param2.utf8(),
+ param3.utf8());
+}