| Index: chrome/browser/devtools/devtools_window.h
|
| diff --git a/chrome/browser/devtools/devtools_window.h b/chrome/browser/devtools/devtools_window.h
|
| index 5cf23b164553635aedf69580b720958c989b7da6..01a53f9f0c6bedbc62fd62b8cfcee24c4a50f258 100644
|
| --- a/chrome/browser/devtools/devtools_window.h
|
| +++ b/chrome/browser/devtools/devtools_window.h
|
| @@ -65,12 +65,12 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
|
|
|
| // Open or reveal DevTools window, and perform the specified action.
|
| static DevToolsWindow* OpenDevToolsWindow(
|
| - content::RenderViewHost* inspected_rvh,
|
| + content::WebContents* inspected_web_contents,
|
| const DevToolsToggleAction& action);
|
|
|
| // Open or reveal DevTools window, with no special action.
|
| static DevToolsWindow* OpenDevToolsWindow(
|
| - content::RenderViewHost* inspected_rvh);
|
| + content::WebContents* inspected_web_contents);
|
|
|
| // Perform specified action for current WebContents inside a |browser|.
|
| // This may close currently open DevTools window.
|
| @@ -90,7 +90,7 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
|
| content::DevToolsAgentHost* worker_agent);
|
|
|
| static void InspectElement(
|
| - content::RenderViewHost* inspected_rvh, int x, int y);
|
| + content::WebContents* inspected_web_contents, int x, int y);
|
|
|
| // Sets closure to be called after load is done. If already loaded, calls
|
| // closure immediately.
|
| @@ -199,12 +199,12 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
|
|
|
| DevToolsWindow(Profile* profile,
|
| const GURL& frontend_url,
|
| - content::RenderViewHost* inspected_rvh,
|
| + content::WebContents* inspected_web_contents,
|
| bool can_dock);
|
|
|
| static DevToolsWindow* Create(Profile* profile,
|
| const GURL& frontend_url,
|
| - content::RenderViewHost* inspected_rvh,
|
| + content::WebContents* inspected_web_contents,
|
| bool shared_worker_frontend,
|
| bool external_frontend,
|
| bool can_dock,
|
| @@ -219,7 +219,7 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
|
| static DevToolsWindow* AsDevToolsWindow(content::WebContents*);
|
| static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile);
|
| static DevToolsWindow* ToggleDevToolsWindow(
|
| - content::RenderViewHost* inspected_rvh,
|
| + content::WebContents* web_contents,
|
| bool force_open,
|
| const DevToolsToggleAction& action,
|
| const std::string& settings);
|
|
|