| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 virtual content::JavaScriptDialogManager* | 281 virtual content::JavaScriptDialogManager* |
| 282 GetJavaScriptDialogManager() OVERRIDE; | 282 GetJavaScriptDialogManager() OVERRIDE; |
| 283 virtual content::ColorChooser* OpenColorChooser( | 283 virtual content::ColorChooser* OpenColorChooser( |
| 284 content::WebContents* web_contents, | 284 content::WebContents* web_contents, |
| 285 SkColor color, | 285 SkColor color, |
| 286 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; | 286 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; |
| 287 virtual void RunFileChooser( | 287 virtual void RunFileChooser( |
| 288 content::WebContents* web_contents, | 288 content::WebContents* web_contents, |
| 289 const content::FileChooserParams& params) OVERRIDE; | 289 const content::FileChooserParams& params) OVERRIDE; |
| 290 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; | 290 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
| 291 virtual bool PreHandleGestureEvent( |
| 292 content::WebContents* source, |
| 293 const blink::WebGestureEvent& event) OVERRIDE; |
| 291 | 294 |
| 292 // content::DevToolsFrontendHostDelegate override: | 295 // content::DevToolsFrontendHostDelegate override: |
| 293 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; | 296 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; |
| 294 | 297 |
| 295 // DevToolsEmbedderMessageDispatcher::Delegate overrides: | 298 // DevToolsEmbedderMessageDispatcher::Delegate overrides: |
| 296 virtual void ActivateWindow() OVERRIDE; | 299 virtual void ActivateWindow() OVERRIDE; |
| 297 virtual void ActivateContents(content::WebContents* contents) OVERRIDE; | 300 virtual void ActivateContents(content::WebContents* contents) OVERRIDE; |
| 298 virtual void CloseWindow() OVERRIDE; | 301 virtual void CloseWindow() OVERRIDE; |
| 299 virtual void SetContentsInsets( | 302 virtual void SetContentsInsets( |
| 300 int left, int top, int right, int bottom) OVERRIDE; | 303 int left, int top, int right, int bottom) OVERRIDE; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 // True if we're in the process of handling a beforeunload event originating | 385 // True if we're in the process of handling a beforeunload event originating |
| 383 // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 386 // from the inspected webcontents, see InterceptPageBeforeUnload for details. |
| 384 bool intercepted_page_beforeunload_; | 387 bool intercepted_page_beforeunload_; |
| 385 | 388 |
| 386 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 389 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
| 387 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 390 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
| 388 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 391 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 389 }; | 392 }; |
| 390 | 393 |
| 391 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 394 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |