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

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

Issue 744653002: Ignore DevTools messages from the old inspected RVH after navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 6 years, 1 month 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.h
diff --git a/content/browser/devtools/devtools_frontend_host_impl.h b/content/browser/devtools/devtools_frontend_host_impl.h
index 98b907497a1fb34920755539568cc02f0ec86da5..81f01f04bc45151bbf13fd07e7951f46a7b3da85 100644
--- a/content/browser/devtools/devtools_frontend_host_impl.h
+++ b/content/browser/devtools/devtools_frontend_host_impl.h
@@ -13,13 +13,14 @@ namespace content {
class DevToolsFrontendHostImpl : public DevToolsFrontendHost,
public WebContentsObserver {
public:
- DevToolsFrontendHostImpl(RenderViewHost* frontend_rvh,
+ DevToolsFrontendHostImpl(WebContents* frontend_web_contents,
DevToolsFrontendHost::Delegate* delegate);
~DevToolsFrontendHostImpl() override;
private:
// WebContentsObserver overrides.
- bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message,
+ RenderFrameHost* render_frame_host) override;
void OnDispatchOnInspectorBackend(const std::string& message);
void OnDispatchOnEmbedder(const std::string& message);
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | content/browser/devtools/devtools_frontend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698