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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" | 9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" |
10 #include "chrome/browser/devtools/devtools_toggle_action.h" | 10 #include "chrome/browser/devtools/devtools_toggle_action.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 int opener_render_process_id, | 290 int opener_render_process_id, |
291 int opener_render_frame_id, | 291 int opener_render_frame_id, |
292 const std::string& frame_name, | 292 const std::string& frame_name, |
293 const GURL& target_url, | 293 const GURL& target_url, |
294 content::WebContents* new_contents) override; | 294 content::WebContents* new_contents) override; |
295 void CloseContents(content::WebContents* source) override; | 295 void CloseContents(content::WebContents* source) override; |
296 void ContentsZoomChange(bool zoom_in) override; | 296 void ContentsZoomChange(bool zoom_in) override; |
297 void BeforeUnloadFired(content::WebContents* tab, | 297 void BeforeUnloadFired(content::WebContents* tab, |
298 bool proceed, | 298 bool proceed, |
299 bool* proceed_to_fire_unload) override; | 299 bool* proceed_to_fire_unload) override; |
300 bool PreHandleKeyboardEvent(content::WebContents* source, | 300 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( |
301 const content::NativeWebKeyboardEvent& event, | 301 content::WebContents* source, |
302 bool* is_keyboard_shortcut) override; | 302 const content::NativeWebKeyboardEvent& event) override; |
303 void HandleKeyboardEvent( | 303 void HandleKeyboardEvent( |
304 content::WebContents* source, | 304 content::WebContents* source, |
305 const content::NativeWebKeyboardEvent& event) override; | 305 const content::NativeWebKeyboardEvent& event) override; |
306 content::JavaScriptDialogManager* GetJavaScriptDialogManager( | 306 content::JavaScriptDialogManager* GetJavaScriptDialogManager( |
307 content::WebContents* source) override; | 307 content::WebContents* source) override; |
308 content::ColorChooser* OpenColorChooser( | 308 content::ColorChooser* OpenColorChooser( |
309 content::WebContents* web_contents, | 309 content::WebContents* web_contents, |
310 SkColor color, | 310 SkColor color, |
311 const std::vector<content::ColorSuggestion>& suggestions) override; | 311 const std::vector<content::ColorSuggestion>& suggestions) override; |
312 void RunFileChooser(content::RenderFrameHost* render_frame_host, | 312 void RunFileChooser(content::RenderFrameHost* render_frame_host, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 base::Closure ready_for_test_callback_; | 364 base::Closure ready_for_test_callback_; |
365 | 365 |
366 base::TimeTicks inspect_element_start_time_; | 366 base::TimeTicks inspect_element_start_time_; |
367 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; | 367 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; |
368 | 368 |
369 friend class DevToolsEventForwarder; | 369 friend class DevToolsEventForwarder; |
370 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 370 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
371 }; | 371 }; |
372 | 372 |
373 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 373 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |