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

Unified Diff: content/browser/devtools/devtools_frontend_host_impl.cc

Issue 418243003: [DevTools] Move DispatchOnDevToolsFrontend to embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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: content/browser/devtools/devtools_frontend_host_impl.cc
diff --git a/content/browser/devtools/devtools_frontend_host_impl.cc b/content/browser/devtools/devtools_frontend_host_impl.cc
index 9a81dfd1cbc60e4c3d6fd8882fa117e8f3a145c9..a73e88cb50ad525de728a8d2228d75afb2d3b773 100644
--- a/content/browser/devtools/devtools_frontend_host_impl.cc
+++ b/content/browser/devtools/devtools_frontend_host_impl.cc
@@ -30,16 +30,6 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl(
DevToolsFrontendHostImpl::~DevToolsFrontendHostImpl() {
}
-void DevToolsFrontendHostImpl::DispatchOnDevToolsFrontend(
- const std::string& message) {
- if (!web_contents())
- return;
- RenderViewHost* target_host = web_contents()->GetRenderViewHost();
- target_host->Send(new DevToolsClientMsg_DispatchOnInspectorFrontend(
- target_host->GetRoutingID(),
- message));
-}
-
bool DevToolsFrontendHostImpl::OnMessageReceived(
const IPC::Message& message) {
bool handled = true;
« no previous file with comments | « content/browser/devtools/devtools_frontend_host_impl.h ('k') | content/public/browser/devtools_frontend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698