| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 virtual void CloseContents(content::WebContents* source) OVERRIDE {} | 169 virtual void CloseContents(content::WebContents* source) OVERRIDE {} |
| 170 virtual bool PreHandleKeyboardEvent( | 170 virtual bool PreHandleKeyboardEvent( |
| 171 content::WebContents* source, | 171 content::WebContents* source, |
| 172 const content::NativeWebKeyboardEvent& event, | 172 const content::NativeWebKeyboardEvent& event, |
| 173 bool* is_keyboard_shortcut) OVERRIDE; | 173 bool* is_keyboard_shortcut) OVERRIDE; |
| 174 virtual void HandleKeyboardEvent( | 174 virtual void HandleKeyboardEvent( |
| 175 content::WebContents* source, | 175 content::WebContents* source, |
| 176 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 176 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 177 virtual content::JavaScriptDialogManager* | 177 virtual content::JavaScriptDialogManager* |
| 178 GetJavaScriptDialogManager() OVERRIDE; | 178 GetJavaScriptDialogManager() OVERRIDE; |
| 179 virtual content::ColorChooser* OpenColorChooser( |
| 180 content::WebContents* web_contents, |
| 181 SkColor color) OVERRIDE; |
| 179 virtual void RunFileChooser( | 182 virtual void RunFileChooser( |
| 180 content::WebContents* web_contents, | 183 content::WebContents* web_contents, |
| 181 const content::FileChooserParams& params) OVERRIDE; | 184 const content::FileChooserParams& params) OVERRIDE; |
| 182 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; | 185 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
| 183 | 186 |
| 184 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); | 187 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); |
| 185 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); | 188 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); |
| 186 | 189 |
| 187 // content::DevToolsFrontendHostDelegate overrides. | 190 // content::DevToolsFrontendHostDelegate overrides. |
| 188 virtual void ActivateWindow() OVERRIDE; | 191 virtual void ActivateWindow() OVERRIDE; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 scoped_ptr<content::DevToolsClientHost> frontend_host_; | 235 scoped_ptr<content::DevToolsClientHost> frontend_host_; |
| 233 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 236 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
| 234 scoped_ptr<DevToolsFileHelper> file_helper_; | 237 scoped_ptr<DevToolsFileHelper> file_helper_; |
| 235 int width_; | 238 int width_; |
| 236 int height_; | 239 int height_; |
| 237 DevToolsDockSide dock_side_before_minimized_; | 240 DevToolsDockSide dock_side_before_minimized_; |
| 238 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 241 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 244 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |