| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 virtual void ConfirmSetDefaultSearchProvider( | 771 virtual void ConfirmSetDefaultSearchProvider( |
| 772 TabContents* tab_contents, | 772 TabContents* tab_contents, |
| 773 TemplateURL* template_url, | 773 TemplateURL* template_url, |
| 774 TemplateURLModel* template_url_model); | 774 TemplateURLModel* template_url_model); |
| 775 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 775 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 776 Profile* profile); | 776 Profile* profile); |
| 777 virtual void ShowPageInfo(Profile* profile, | 777 virtual void ShowPageInfo(Profile* profile, |
| 778 const GURL& url, | 778 const GURL& url, |
| 779 const NavigationEntry::SSLStatus& ssl, | 779 const NavigationEntry::SSLStatus& ssl, |
| 780 bool show_history); | 780 bool show_history); |
| 781 virtual void ViewSourceForTab(TabContents* source); | 781 virtual void ViewSourceForTab(TabContents* source, const GURL& page_url); |
| 782 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 782 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 783 bool* is_keyboard_shortcut); | 783 bool* is_keyboard_shortcut); |
| 784 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 784 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 785 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 785 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 786 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); | 786 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); |
| 787 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 787 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
| 788 virtual bool ShouldAddNavigationToHistory( | 788 virtual bool ShouldAddNavigationToHistory( |
| 789 const history::HistoryAddPageArgs& add_page_args, | 789 const history::HistoryAddPageArgs& add_page_args, |
| 790 NavigationType::Type navigation_type); | 790 NavigationType::Type navigation_type); |
| 791 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, | 791 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 // and we install ourselves as an observer. | 1130 // and we install ourselves as an observer. |
| 1131 TabRestoreService* tab_restore_service_; | 1131 TabRestoreService* tab_restore_service_; |
| 1132 | 1132 |
| 1133 scoped_ptr<InstantController> instant_; | 1133 scoped_ptr<InstantController> instant_; |
| 1134 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1134 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
| 1135 | 1135 |
| 1136 DISALLOW_COPY_AND_ASSIGN(Browser); | 1136 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1137 }; | 1137 }; |
| 1138 | 1138 |
| 1139 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1139 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |