Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / devtools / devtools_window.h
index aa526b5..7e75c52 100644 (file)
@@ -33,7 +33,6 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
    public:
     explicit ObserverWithAccessor(content::WebContents* web_contents);
     virtual ~ObserverWithAccessor();
-    content::WebContents* GetWebContents();
 
    private:
     DISALLOW_COPY_AND_ASSIGN(ObserverWithAccessor);
@@ -82,12 +81,13 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
   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,
@@ -225,8 +225,6 @@ class DevToolsWindow : public DevToolsUIBindings::Delegate,
       const DevToolsToggleAction& action,
       const std::string& settings);
 
-  static std::string GetDevToolsWindowPlacementPrefKey();
-
   // content::WebContentsDelegate:
   virtual content::WebContents* OpenURLFromTab(
       content::WebContents* source,