| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 bool* is_keyboard_shortcut); | 734 bool* is_keyboard_shortcut); |
| 735 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 735 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 736 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 736 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 737 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); | 737 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); |
| 738 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 738 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
| 739 virtual bool ShouldAddNavigationsToHistory() const; | 739 virtual bool ShouldAddNavigationsToHistory() const; |
| 740 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, | 740 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, |
| 741 int32 page_id); | 741 int32 page_id); |
| 742 virtual Browser* GetBrowser(); | 742 virtual Browser* GetBrowser(); |
| 743 virtual void ContentTypeChanged(TabContents* source); | 743 virtual void ContentTypeChanged(TabContents* source); |
| 744 virtual void CommitMatchPreview(TabContents* source); |
| 744 | 745 |
| 745 // Overridden from SelectFileDialog::Listener: | 746 // Overridden from SelectFileDialog::Listener: |
| 746 virtual void FileSelected(const FilePath& path, int index, void* params); | 747 virtual void FileSelected(const FilePath& path, int index, void* params); |
| 747 | 748 |
| 748 // Overridden from NotificationObserver: | 749 // Overridden from NotificationObserver: |
| 749 virtual void Observe(NotificationType type, | 750 virtual void Observe(NotificationType type, |
| 750 const NotificationSource& source, | 751 const NotificationSource& source, |
| 751 const NotificationDetails& details); | 752 const NotificationDetails& details); |
| 752 | 753 |
| 753 // Overridden from ProfileSyncServiceObserver: | 754 // Overridden from ProfileSyncServiceObserver: |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 mutable BooleanPrefMember use_vertical_tabs_; | 1074 mutable BooleanPrefMember use_vertical_tabs_; |
| 1074 | 1075 |
| 1075 // The profile's tab restore service. The service is owned by the profile, | 1076 // The profile's tab restore service. The service is owned by the profile, |
| 1076 // and we install ourselves as an observer. | 1077 // and we install ourselves as an observer. |
| 1077 TabRestoreService* tab_restore_service_; | 1078 TabRestoreService* tab_restore_service_; |
| 1078 | 1079 |
| 1079 DISALLOW_COPY_AND_ASSIGN(Browser); | 1080 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1080 }; | 1081 }; |
| 1081 | 1082 |
| 1082 #endif // CHROME_BROWSER_BROWSER_H_ | 1083 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |