| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 const std::string& settings); | 226 const std::string& settings); |
| 227 | 227 |
| 228 // content::WebContentsDelegate: | 228 // content::WebContentsDelegate: |
| 229 content::WebContents* OpenURLFromTab( | 229 content::WebContents* OpenURLFromTab( |
| 230 content::WebContents* source, | 230 content::WebContents* source, |
| 231 const content::OpenURLParams& params) override; | 231 const content::OpenURLParams& params) override; |
| 232 void ActivateContents(content::WebContents* contents) override; | 232 void ActivateContents(content::WebContents* contents) override; |
| 233 void AddNewContents(content::WebContents* source, | 233 void AddNewContents(content::WebContents* source, |
| 234 content::WebContents* new_contents, | 234 content::WebContents* new_contents, |
| 235 WindowOpenDisposition disposition, | 235 WindowOpenDisposition disposition, |
| 236 const gfx::Rect& initial_pos, | 236 const gfx::Rect& initial_rect, |
| 237 bool user_gesture, | 237 bool user_gesture, |
| 238 bool* was_blocked) override; | 238 bool* was_blocked) override; |
| 239 void WebContentsCreated(content::WebContents* source_contents, | 239 void WebContentsCreated(content::WebContents* source_contents, |
| 240 int opener_render_frame_id, | 240 int opener_render_frame_id, |
| 241 const base::string16& frame_name, | 241 const base::string16& frame_name, |
| 242 const GURL& target_url, | 242 const GURL& target_url, |
| 243 content::WebContents* new_contents) override; | 243 content::WebContents* new_contents) override; |
| 244 void CloseContents(content::WebContents* source) override; | 244 void CloseContents(content::WebContents* source) override; |
| 245 void ContentsZoomChange(bool zoom_in) override; | 245 void ContentsZoomChange(bool zoom_in) override; |
| 246 void BeforeUnloadFired(content::WebContents* tab, | 246 void BeforeUnloadFired(content::WebContents* tab, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 base::Closure close_callback_; | 306 base::Closure close_callback_; |
| 307 | 307 |
| 308 base::TimeTicks inspect_element_start_time_; | 308 base::TimeTicks inspect_element_start_time_; |
| 309 scoped_ptr<DevToolsEventForwarder> event_forwarder_; | 309 scoped_ptr<DevToolsEventForwarder> event_forwarder_; |
| 310 | 310 |
| 311 friend class DevToolsEventForwarder; | 311 friend class DevToolsEventForwarder; |
| 312 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 312 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 313 }; | 313 }; |
| 314 | 314 |
| 315 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 315 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |