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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 const base::FilePath& path) OVERRIDE; | 610 const base::FilePath& path) OVERRIDE; |
611 virtual bool EmbedsFullscreenWidget() const OVERRIDE; | 611 virtual bool EmbedsFullscreenWidget() const OVERRIDE; |
612 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, | 612 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, |
613 bool enter_fullscreen) OVERRIDE; | 613 bool enter_fullscreen) OVERRIDE; |
614 virtual bool IsFullscreenForTabOrPending( | 614 virtual bool IsFullscreenForTabOrPending( |
615 const content::WebContents* web_contents) const OVERRIDE; | 615 const content::WebContents* web_contents) const OVERRIDE; |
616 virtual void RegisterProtocolHandler(content::WebContents* web_contents, | 616 virtual void RegisterProtocolHandler(content::WebContents* web_contents, |
617 const std::string& protocol, | 617 const std::string& protocol, |
618 const GURL& url, | 618 const GURL& url, |
619 bool user_gesture) OVERRIDE; | 619 bool user_gesture) OVERRIDE; |
| 620 virtual void UnregisterProtocolHandler(content::WebContents* web_contents, |
| 621 const std::string& protocol, |
| 622 const GURL& url, |
| 623 bool user_gesture) OVERRIDE; |
620 virtual void UpdatePreferredSize(content::WebContents* source, | 624 virtual void UpdatePreferredSize(content::WebContents* source, |
621 const gfx::Size& pref_size) OVERRIDE; | 625 const gfx::Size& pref_size) OVERRIDE; |
622 virtual void ResizeDueToAutoResize(content::WebContents* source, | 626 virtual void ResizeDueToAutoResize(content::WebContents* source, |
623 const gfx::Size& new_size) OVERRIDE; | 627 const gfx::Size& new_size) OVERRIDE; |
624 virtual void FindReply(content::WebContents* web_contents, | 628 virtual void FindReply(content::WebContents* web_contents, |
625 int request_id, | 629 int request_id, |
626 int number_of_matches, | 630 int number_of_matches, |
627 const gfx::Rect& selection_rect, | 631 const gfx::Rect& selection_rect, |
628 int active_match_ordinal, | 632 int active_match_ordinal, |
629 bool final_update) OVERRIDE; | 633 bool final_update) OVERRIDE; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 base::WeakPtrFactory<Browser> weak_factory_; | 940 base::WeakPtrFactory<Browser> weak_factory_; |
937 | 941 |
938 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; | 942 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; |
939 | 943 |
940 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 944 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
941 | 945 |
942 DISALLOW_COPY_AND_ASSIGN(Browser); | 946 DISALLOW_COPY_AND_ASSIGN(Browser); |
943 }; | 947 }; |
944 | 948 |
945 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 949 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |