| 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_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 const base::string16& main_text, | 442 const base::string16& main_text, |
| 443 const base::string16& sub_text) OVERRIDE; | 443 const base::string16& sub_text) OVERRIDE; |
| 444 virtual void HideValidationMessage( | 444 virtual void HideValidationMessage( |
| 445 content::WebContents* web_contents) OVERRIDE; | 445 content::WebContents* web_contents) OVERRIDE; |
| 446 virtual void MoveValidationMessage( | 446 virtual void MoveValidationMessage( |
| 447 content::WebContents* web_contents, | 447 content::WebContents* web_contents, |
| 448 const gfx::Rect& anchor_in_root_view) OVERRIDE; | 448 const gfx::Rect& anchor_in_root_view) OVERRIDE; |
| 449 virtual bool PreHandleGestureEvent( | 449 virtual bool PreHandleGestureEvent( |
| 450 content::WebContents* source, | 450 content::WebContents* source, |
| 451 const blink::WebGestureEvent& event) OVERRIDE; | 451 const blink::WebGestureEvent& event) OVERRIDE; |
| 452 virtual void InspectWorker( |
| 453 content::DevToolsAgentHost* agent_host) OVERRIDE; |
| 452 | 454 |
| 453 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 455 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 454 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 456 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 455 | 457 |
| 456 bool is_app() const; | 458 bool is_app() const; |
| 457 bool is_devtools() const; | 459 bool is_devtools() const; |
| 458 | 460 |
| 459 // True when the mouse cursor is locked. | 461 // True when the mouse cursor is locked. |
| 460 bool IsMouseLocked() const; | 462 bool IsMouseLocked() const; |
| 461 | 463 |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 base::WeakPtrFactory<Browser> weak_factory_; | 939 base::WeakPtrFactory<Browser> weak_factory_; |
| 938 | 940 |
| 939 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; | 941 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; |
| 940 | 942 |
| 941 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 943 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
| 942 | 944 |
| 943 DISALLOW_COPY_AND_ASSIGN(Browser); | 945 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 944 }; | 946 }; |
| 945 | 947 |
| 946 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 948 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |