| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 content::WebContents* source, | 254 content::WebContents* source, |
| 255 const content::NativeWebKeyboardEvent& event, | 255 const content::NativeWebKeyboardEvent& event, |
| 256 bool* is_keyboard_shortcut) OVERRIDE; | 256 bool* is_keyboard_shortcut) OVERRIDE; |
| 257 virtual void HandleKeyboardEvent( | 257 virtual void HandleKeyboardEvent( |
| 258 content::WebContents* source, | 258 content::WebContents* source, |
| 259 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 259 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 260 virtual content::JavaScriptDialogManager* | 260 virtual content::JavaScriptDialogManager* |
| 261 GetJavaScriptDialogManager() OVERRIDE; | 261 GetJavaScriptDialogManager() OVERRIDE; |
| 262 virtual content::ColorChooser* OpenColorChooser( | 262 virtual content::ColorChooser* OpenColorChooser( |
| 263 content::WebContents* web_contents, | 263 content::WebContents* web_contents, |
| 264 SkColor color) OVERRIDE; | 264 SkColor color, |
| 265 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; |
| 265 virtual void RunFileChooser( | 266 virtual void RunFileChooser( |
| 266 content::WebContents* web_contents, | 267 content::WebContents* web_contents, |
| 267 const content::FileChooserParams& params) OVERRIDE; | 268 const content::FileChooserParams& params) OVERRIDE; |
| 268 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; | 269 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
| 269 | 270 |
| 270 // content::DevToolsFrontendHostDelegate override: | 271 // content::DevToolsFrontendHostDelegate override: |
| 271 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; | 272 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; |
| 272 | 273 |
| 273 // DevToolsEmbedderMessageDispatcher::Delegate overrides: | 274 // DevToolsEmbedderMessageDispatcher::Delegate overrides: |
| 274 virtual void ActivateWindow() OVERRIDE; | 275 virtual void ActivateWindow() OVERRIDE; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 // True if we're in the process of handling a beforeunload event originating | 361 // True if we're in the process of handling a beforeunload event originating |
| 361 // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 362 // from the inspected webcontents, see InterceptPageBeforeUnload for details. |
| 362 bool intercepted_page_beforeunload_; | 363 bool intercepted_page_beforeunload_; |
| 363 | 364 |
| 364 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 365 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
| 365 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 366 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
| 366 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 367 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 367 }; | 368 }; |
| 368 | 369 |
| 369 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 370 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |