| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 const std::string& frame_content_state); | 806 const std::string& frame_content_state); |
| 807 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 807 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 808 bool* is_keyboard_shortcut); | 808 bool* is_keyboard_shortcut); |
| 809 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 809 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 810 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 810 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 811 virtual void ShowContentSettingsPage(ContentSettingsType content_type); | 811 virtual void ShowContentSettingsPage(ContentSettingsType content_type); |
| 812 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 812 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
| 813 virtual bool ShouldAddNavigationToHistory( | 813 virtual bool ShouldAddNavigationToHistory( |
| 814 const history::HistoryAddPageArgs& add_page_args, | 814 const history::HistoryAddPageArgs& add_page_args, |
| 815 NavigationType::Type navigation_type); | 815 NavigationType::Type navigation_type); |
| 816 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, | |
| 817 int32 page_id); | |
| 818 virtual void OnInstallApplication(TabContents* tab_contents, | |
| 819 const WebApplicationInfo& app_info); | |
| 820 virtual void ContentRestrictionsChanged(TabContents* source); | 816 virtual void ContentRestrictionsChanged(TabContents* source); |
| 821 virtual void WorkerCrashed(); | 817 virtual void WorkerCrashed(); |
| 822 | 818 |
| 823 // Overridden from TabContentsWrapperDelegate: | 819 // Overridden from TabContentsWrapperDelegate: |
| 824 virtual void URLStarredChanged(TabContentsWrapper* source, | 820 virtual void URLStarredChanged(TabContentsWrapper* source, |
| 825 bool starred) OVERRIDE; | 821 bool starred) OVERRIDE; |
| 822 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, |
| 823 int32 page_id) OVERRIDE; |
| 824 virtual void OnInstallApplication( |
| 825 TabContentsWrapper* source, |
| 826 const WebApplicationInfo& app_info) OVERRIDE; |
| 827 |
| 826 // Overridden from SearchEngineTabHelperDelegate: | 828 // Overridden from SearchEngineTabHelperDelegate: |
| 827 virtual void ConfirmSetDefaultSearchProvider( | 829 virtual void ConfirmSetDefaultSearchProvider( |
| 828 TabContents* tab_contents, | 830 TabContents* tab_contents, |
| 829 TemplateURL* template_url, | 831 TemplateURL* template_url, |
| 830 TemplateURLModel* template_url_model) OVERRIDE; | 832 TemplateURLModel* template_url_model) OVERRIDE; |
| 831 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 833 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 832 Profile* profile) OVERRIDE; | 834 Profile* profile) OVERRIDE; |
| 833 | 835 |
| 834 // Overridden from SelectFileDialog::Listener: | 836 // Overridden from SelectFileDialog::Listener: |
| 835 virtual void FileSelected(const FilePath& path, int index, void* params); | 837 virtual void FileSelected(const FilePath& path, int index, void* params); |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 // Helper which implements the TabRestoreServiceDelegate interface. | 1169 // Helper which implements the TabRestoreServiceDelegate interface. |
| 1168 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 1170 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
| 1169 | 1171 |
| 1170 scoped_ptr<InstantController> instant_; | 1172 scoped_ptr<InstantController> instant_; |
| 1171 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1173 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
| 1172 | 1174 |
| 1173 DISALLOW_COPY_AND_ASSIGN(Browser); | 1175 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1174 }; | 1176 }; |
| 1175 | 1177 |
| 1176 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1178 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |