| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 virtual void CloseContents(content::WebContents* source) OVERRIDE {} | 173 virtual void CloseContents(content::WebContents* source) OVERRIDE {} |
| 174 virtual bool PreHandleKeyboardEvent( | 174 virtual bool PreHandleKeyboardEvent( |
| 175 content::WebContents* source, | 175 content::WebContents* source, |
| 176 const content::NativeWebKeyboardEvent& event, | 176 const content::NativeWebKeyboardEvent& event, |
| 177 bool* is_keyboard_shortcut) OVERRIDE; | 177 bool* is_keyboard_shortcut) OVERRIDE; |
| 178 virtual void HandleKeyboardEvent( | 178 virtual void HandleKeyboardEvent( |
| 179 content::WebContents* source, | 179 content::WebContents* source, |
| 180 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 180 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 181 virtual content::JavaScriptDialogManager* | 181 virtual content::JavaScriptDialogManager* |
| 182 GetJavaScriptDialogManager() OVERRIDE; | 182 GetJavaScriptDialogManager() OVERRIDE; |
| 183 virtual content::ColorChooser* OpenColorChooser( |
| 184 content::WebContents* web_contents, |
| 185 SkColor color) OVERRIDE; |
| 183 virtual void RunFileChooser( | 186 virtual void RunFileChooser( |
| 184 content::WebContents* web_contents, | 187 content::WebContents* web_contents, |
| 185 const content::FileChooserParams& params) OVERRIDE; | 188 const content::FileChooserParams& params) OVERRIDE; |
| 186 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; | 189 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
| 187 | 190 |
| 188 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); | 191 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); |
| 189 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); | 192 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); |
| 190 | 193 |
| 191 // content::DevToolsFrontendHostDelegate overrides. | 194 // content::DevToolsFrontendHostDelegate overrides. |
| 192 virtual void ActivateWindow() OVERRIDE; | 195 virtual void ActivateWindow() OVERRIDE; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 scoped_ptr<content::DevToolsClientHost> frontend_host_; | 241 scoped_ptr<content::DevToolsClientHost> frontend_host_; |
| 239 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 242 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
| 240 scoped_ptr<DevToolsFileHelper> file_helper_; | 243 scoped_ptr<DevToolsFileHelper> file_helper_; |
| 241 int width_; | 244 int width_; |
| 242 int height_; | 245 int height_; |
| 243 DevToolsDockSide dock_side_before_minimized_; | 246 DevToolsDockSide dock_side_before_minimized_; |
| 244 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 247 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 245 }; | 248 }; |
| 246 | 249 |
| 247 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 250 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |