public:
explicit ObserverWithAccessor(content::WebContents* web_contents);
virtual ~ObserverWithAccessor();
- content::WebContents* GetWebContents();
private:
DISALLOW_COPY_AND_ASSIGN(ObserverWithAccessor);
static void OpenExternalFrontend(
Profile* profile,
const std::string& frontend_uri,
- content::DevToolsAgentHost* agent_host);
+ const scoped_refptr<content::DevToolsAgentHost>& agent_host,
+ bool isWorker);
// Worker frontend is always undocked.
static DevToolsWindow* OpenDevToolsWindowForWorker(
Profile* profile,
- content::DevToolsAgentHost* worker_agent);
+ const scoped_refptr<content::DevToolsAgentHost>& worker_agent);
static void InspectElement(content::WebContents* inspected_web_contents,
int x,
const DevToolsToggleAction& action,
const std::string& settings);
- static std::string GetDevToolsWindowPlacementPrefKey();
-
// content::WebContentsDelegate:
virtual content::WebContents* OpenURLFromTab(
content::WebContents* source,