OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
7 | 7 |
8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" | 8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" |
9 #include "chrome/browser/devtools/devtools_toggle_action.h" | 9 #include "chrome/browser/devtools/devtools_toggle_action.h" |
10 #include "chrome/browser/devtools/devtools_ui_bindings.h" | 10 #include "chrome/browser/devtools/devtools_ui_bindings.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 DevToolsWindow(Profile* profile, | 201 DevToolsWindow(Profile* profile, |
202 const GURL& frontend_url, | 202 const GURL& frontend_url, |
203 content::WebContents* inspected_web_contents, | 203 content::WebContents* inspected_web_contents, |
204 bool can_dock); | 204 bool can_dock); |
205 | 205 |
206 static DevToolsWindow* Create(Profile* profile, | 206 static DevToolsWindow* Create(Profile* profile, |
207 const GURL& frontend_url, | 207 const GURL& frontend_url, |
208 content::WebContents* inspected_web_contents, | 208 content::WebContents* inspected_web_contents, |
209 bool shared_worker_frontend, | 209 bool shared_worker_frontend, |
210 bool external_frontend, | 210 const std::string& remote_frontend, |
211 bool can_dock, | 211 bool can_dock, |
212 const std::string& settings); | 212 const std::string& settings); |
213 static GURL GetDevToolsURL(Profile* profile, | 213 static GURL GetDevToolsURL(Profile* profile, |
214 const GURL& base_url, | 214 const GURL& base_url, |
215 bool shared_worker_frontend, | 215 bool shared_worker_frontend, |
216 bool external_frontend, | 216 const std::string& remote_frontend, |
217 bool can_dock, | 217 bool can_dock, |
218 const std::string& settings); | 218 const std::string& settings); |
219 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); | 219 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); |
220 static DevToolsWindow* AsDevToolsWindow(content::WebContents*); | 220 static DevToolsWindow* AsDevToolsWindow(content::WebContents*); |
221 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile); | 221 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile); |
222 static DevToolsWindow* ToggleDevToolsWindow( | 222 static DevToolsWindow* ToggleDevToolsWindow( |
223 content::WebContents* web_contents, | 223 content::WebContents* web_contents, |
224 bool force_open, | 224 bool force_open, |
225 const DevToolsToggleAction& action, | 225 const DevToolsToggleAction& action, |
226 const std::string& settings); | 226 const std::string& settings); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 base::Closure close_callback_; | 307 base::Closure close_callback_; |
308 | 308 |
309 base::TimeTicks inspect_element_start_time_; | 309 base::TimeTicks inspect_element_start_time_; |
310 scoped_ptr<DevToolsEventForwarder> event_forwarder_; | 310 scoped_ptr<DevToolsEventForwarder> event_forwarder_; |
311 | 311 |
312 friend class DevToolsEventForwarder; | 312 friend class DevToolsEventForwarder; |
313 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 313 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
314 }; | 314 }; |
315 | 315 |
316 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 316 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |