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

Unified Diff: content/browser/debugger/devtools_client_host.h

Issue 8636010: Revert "DevTools: remove obsolete methods from DevToolsClientHost" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | content/browser/debugger/devtools_client_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/debugger/devtools_client_host.h
diff --git a/content/browser/debugger/devtools_client_host.h b/content/browser/debugger/devtools_client_host.h
index 0ae8c1b9094b0cf2ca2673f15468b7a7aeba8f43..16e4d89113ba314fd38483b7b08f1a9cd607fad7 100644
--- a/content/browser/debugger/devtools_client_host.h
+++ b/content/browser/debugger/devtools_client_host.h
@@ -7,6 +7,7 @@
#pragma once
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "content/common/content_export.h"
@@ -15,6 +16,7 @@ namespace IPC {
class Message;
}
+class RenderViewHost;
class TabContents;
// Describes interface for managing devtools clients from browser process. There
@@ -31,6 +33,8 @@ class CONTENT_EXPORT DevToolsClientHost {
DISALLOW_COPY_AND_ASSIGN(CloseListener);
};
+ static DevToolsClientHost* FindOwnerClientHost(RenderViewHost* client_rvh);
+
virtual ~DevToolsClientHost();
// This method is called when tab inspected by this devtools client is
@@ -52,6 +56,10 @@ class CONTENT_EXPORT DevToolsClientHost {
// TabStripModel::ReplaceTabContentsAt.
virtual void TabReplaced(TabContents* new_tab) = 0;
+ // Returns client (front-end) RenderViewHost implementation of this
+ // client host if applicable. NULL otherwise.
+ virtual RenderViewHost* GetClientRenderViewHost();
+
protected:
DevToolsClientHost();
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | content/browser/debugger/devtools_client_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698