summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/devtools_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/devtools_manager.h')
-rw-r--r--chrome/browser/debugger/devtools_manager.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/debugger/devtools_manager.h b/chrome/browser/debugger/devtools_manager.h
index 3790d27..b904e6f 100644
--- a/chrome/browser/debugger/devtools_manager.h
+++ b/chrome/browser/debugger/devtools_manager.h
@@ -44,7 +44,11 @@ class DevToolsManager : public DevToolsClientHost::CloseListener,
void ForwardToDevToolsClient(RenderViewHost* inspected_rvh,
const IPC::Message& message);
- void OpenDevToolsWindow(RenderViewHost* inspected_rvh);
+ void CloseWindow(RenderViewHost* client_rvn);
+ void DockWindow(RenderViewHost* client_rvn);
+ void UndockWindow(RenderViewHost* client_rvn);
+
+ void OpenDevToolsWindow(RenderViewHost* inspected_rvh, bool docked = false);
// Starts element inspection in the devtools client.
// Creates one by means of OpenDevToolsWindow if no client
@@ -73,6 +77,10 @@ private:
void ForceReopenWindow();
+ DevToolsClientHost* FindOnwerDevToolsClientHost(RenderViewHost* client_rvh);
+
+ void ReopenWindow(RenderViewHost* client_rvh, bool docked);
+
// These two maps are for tracking dependencies between inspected tabs and
// their DevToolsClientHosts. They are usful for routing devtools messages
// and allow us to have at most one devtools client host per tab. We use