OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 virtual void AddNewContents(TabContents* source, | 79 virtual void AddNewContents(TabContents* source, |
80 TabContents* new_contents, | 80 TabContents* new_contents, |
81 WindowOpenDisposition disposition, | 81 WindowOpenDisposition disposition, |
82 const gfx::Rect& initial_pos, | 82 const gfx::Rect& initial_pos, |
83 bool user_gesture); | 83 bool user_gesture); |
84 virtual void CloseContents(TabContents* source) {} | 84 virtual void CloseContents(TabContents* source) {} |
85 virtual bool CanReloadContents(TabContents* source) const; | 85 virtual bool CanReloadContents(TabContents* source) const; |
86 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 86 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
87 bool* is_keyboard_shortcut); | 87 bool* is_keyboard_shortcut); |
88 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 88 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
89 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator(); | |
jam
2011/07/12 01:13:00
is this part of a different change?
| |
89 | 90 |
90 virtual void FrameNavigating(const std::string& url) {} | 91 virtual void FrameNavigating(const std::string& url) {} |
91 | 92 |
92 Profile* profile_; | 93 Profile* profile_; |
93 TabContentsWrapper* inspected_tab_; | 94 TabContentsWrapper* inspected_tab_; |
94 TabContentsWrapper* tab_contents_; | 95 TabContentsWrapper* tab_contents_; |
95 Browser* browser_; | 96 Browser* browser_; |
96 bool docked_; | 97 bool docked_; |
97 bool is_loaded_; | 98 bool is_loaded_; |
98 DevToolsToggleAction action_on_load_; | 99 DevToolsToggleAction action_on_load_; |
99 NotificationRegistrar registrar_; | 100 NotificationRegistrar registrar_; |
100 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 101 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
101 }; | 102 }; |
102 | 103 |
103 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ | 104 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
OLD | NEW |