summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/devtools/devtools_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/devtools/devtools_window.h')
-rw-r--r--chromium/chrome/browser/devtools/devtools_window.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/chrome/browser/devtools/devtools_window.h b/chromium/chrome/browser/devtools/devtools_window.h
index b47e506fff9..0a14822e2c4 100644
--- a/chromium/chrome/browser/devtools/devtools_window.h
+++ b/chromium/chrome/browser/devtools/devtools_window.h
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
#define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
+#include <memory>
+#include <string>
+
#include "base/macros.h"
#include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
#include "chrome/browser/devtools/devtools_toggle_action.h"
@@ -122,6 +125,11 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
static std::unique_ptr<content::NavigationThrottle>
MaybeCreateNavigationThrottle(content::NavigationHandle* handle);
+ // Updates the WebContents inspected by the DevToolsWindow by reattaching
+ // the binding to |new_web_contents|. Called when swapping an outer
+ // WebContents with its inner WebContents.
+ void UpdateInspectedWebContents(content::WebContents* new_web_contents);
+
// Sets closure to be called after load is done. If already loaded, calls
// closure immediately.
void SetLoadCompletedCallback(const base::Closure& closure);