| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 | 705 |
| 706 // Create a preference dictionary for the provided application name. This is | 706 // Create a preference dictionary for the provided application name. This is |
| 707 // done only once per application name / per session. | 707 // done only once per application name / per session. |
| 708 static void RegisterAppPrefs(const std::wstring& app_name); | 708 static void RegisterAppPrefs(const std::wstring& app_name); |
| 709 | 709 |
| 710 // Data members ///////////////////////////////////////////////////////////// | 710 // Data members ///////////////////////////////////////////////////////////// |
| 711 | 711 |
| 712 NotificationRegistrar registrar_; | 712 NotificationRegistrar registrar_; |
| 713 | 713 |
| 714 // This Browser's type. | 714 // This Browser's type. |
| 715 Type type_; | 715 const Type type_; |
| 716 | 716 |
| 717 // This Browser's profile. | 717 // This Browser's profile. |
| 718 Profile* profile_; | 718 Profile* const profile_; |
| 719 | 719 |
| 720 // This Browser's window. | 720 // This Browser's window. |
| 721 BrowserWindow* window_; | 721 BrowserWindow* window_; |
| 722 | 722 |
| 723 // This Browser's TabStripModel. | 723 // This Browser's TabStripModel. |
| 724 TabStripModel tabstrip_model_; | 724 TabStripModel tabstrip_model_; |
| 725 | 725 |
| 726 // The CommandUpdater that manages the browser window commands. | 726 // The CommandUpdater that manages the browser window commands. |
| 727 CommandUpdater command_updater_; | 727 CommandUpdater command_updater_; |
| 728 | 728 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 // Dialog box used for opening and saving files. | 817 // Dialog box used for opening and saving files. |
| 818 scoped_refptr<SelectFileDialog> select_file_dialog_; | 818 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 819 | 819 |
| 820 // Keep track of the encoding auto detect pref. | 820 // Keep track of the encoding auto detect pref. |
| 821 BooleanPrefMember encoding_auto_detect_; | 821 BooleanPrefMember encoding_auto_detect_; |
| 822 | 822 |
| 823 DISALLOW_COPY_AND_ASSIGN(Browser); | 823 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 824 }; | 824 }; |
| 825 | 825 |
| 826 #endif // CHROME_BROWSER_BROWSER_H_ | 826 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |