| 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_H_ |
| 6 #define CHROME_BROWSER_BROWSER_H_ | 6 #define CHROME_BROWSER_BROWSER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 const NavigationEntry::SSLStatus& ssl, | 723 const NavigationEntry::SSLStatus& ssl, |
| 724 bool show_history); | 724 bool show_history); |
| 725 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 725 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 726 bool* is_keyboard_shortcut); | 726 bool* is_keyboard_shortcut); |
| 727 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 727 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 728 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 728 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 729 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); | 729 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); |
| 730 virtual bool ShouldAddNavigationsToHistory() const; | 730 virtual bool ShouldAddNavigationsToHistory() const; |
| 731 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, | 731 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, |
| 732 int32 page_id); | 732 int32 page_id); |
| 733 virtual Browser* GetBrowser() { return this; } | 733 virtual Browser* GetBrowser(); |
| 734 | 734 |
| 735 // Overridden from SelectFileDialog::Listener: | 735 // Overridden from SelectFileDialog::Listener: |
| 736 virtual void FileSelected(const FilePath& path, int index, void* params); | 736 virtual void FileSelected(const FilePath& path, int index, void* params); |
| 737 | 737 |
| 738 // Overridden from NotificationObserver: | 738 // Overridden from NotificationObserver: |
| 739 virtual void Observe(NotificationType type, | 739 virtual void Observe(NotificationType type, |
| 740 const NotificationSource& source, | 740 const NotificationSource& source, |
| 741 const NotificationDetails& details); | 741 const NotificationDetails& details); |
| 742 | 742 |
| 743 // Overridden from ProfileSyncServiceObserver: | 743 // Overridden from ProfileSyncServiceObserver: |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 mutable BooleanPrefMember use_vertical_tabs_; | 1060 mutable BooleanPrefMember use_vertical_tabs_; |
| 1061 | 1061 |
| 1062 // The profile's tab restore service. The service is owned by the profile, | 1062 // The profile's tab restore service. The service is owned by the profile, |
| 1063 // and we install ourselves as an observer. | 1063 // and we install ourselves as an observer. |
| 1064 TabRestoreService* tab_restore_service_; | 1064 TabRestoreService* tab_restore_service_; |
| 1065 | 1065 |
| 1066 DISALLOW_COPY_AND_ASSIGN(Browser); | 1066 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1067 }; | 1067 }; |
| 1068 | 1068 |
| 1069 #endif // CHROME_BROWSER_BROWSER_H_ | 1069 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |