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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 const NavigationEntry::SSLStatus& ssl, | 791 const NavigationEntry::SSLStatus& ssl, |
792 bool show_history); | 792 bool show_history); |
793 virtual void ViewSourceForTab(TabContents* source, const GURL& page_url); | 793 virtual void ViewSourceForTab(TabContents* source, const GURL& page_url); |
794 virtual void ViewSourceForFrame(TabContents* source, | 794 virtual void ViewSourceForFrame(TabContents* source, |
795 const GURL& frame_url, | 795 const GURL& frame_url, |
796 const std::string& frame_content_state); | 796 const std::string& frame_content_state); |
797 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 797 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
798 bool* is_keyboard_shortcut); | 798 bool* is_keyboard_shortcut); |
799 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 799 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
800 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 800 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
801 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); | 801 virtual void ShowContentSettingsPage(ContentSettingsType content_type); |
802 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 802 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
803 virtual bool ShouldAddNavigationToHistory( | 803 virtual bool ShouldAddNavigationToHistory( |
804 const history::HistoryAddPageArgs& add_page_args, | 804 const history::HistoryAddPageArgs& add_page_args, |
805 NavigationType::Type navigation_type); | 805 NavigationType::Type navigation_type); |
806 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, | 806 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, |
807 int32 page_id); | 807 int32 page_id); |
808 virtual void OnInstallApplication(TabContents* tab_contents, | 808 virtual void OnInstallApplication(TabContents* tab_contents, |
809 const WebApplicationInfo& app_info); | 809 const WebApplicationInfo& app_info); |
810 virtual void ContentRestrictionsChanged(TabContents* source); | 810 virtual void ContentRestrictionsChanged(TabContents* source); |
811 virtual void WorkerCrashed(); | 811 virtual void WorkerCrashed(); |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 // and we install ourselves as an observer. | 1153 // and we install ourselves as an observer. |
1154 TabRestoreService* tab_restore_service_; | 1154 TabRestoreService* tab_restore_service_; |
1155 | 1155 |
1156 scoped_ptr<InstantController> instant_; | 1156 scoped_ptr<InstantController> instant_; |
1157 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1157 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
1158 | 1158 |
1159 DISALLOW_COPY_AND_ASSIGN(Browser); | 1159 DISALLOW_COPY_AND_ASSIGN(Browser); |
1160 }; | 1160 }; |
1161 | 1161 |
1162 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1162 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |