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(); |