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 26 matching lines...) Expand all Loading... |
37 class TabNavigation; | 37 class TabNavigation; |
38 | 38 |
39 class Browser : public TabStripModelDelegate, | 39 class Browser : public TabStripModelDelegate, |
40 public TabStripModelObserver, | 40 public TabStripModelObserver, |
41 public TabContentsDelegate, | 41 public TabContentsDelegate, |
42 public PageNavigator, | 42 public PageNavigator, |
43 public CommandUpdater::CommandUpdaterDelegate, | 43 public CommandUpdater::CommandUpdaterDelegate, |
44 public NotificationObserver, | 44 public NotificationObserver, |
45 public SelectFileDialog::Listener { | 45 public SelectFileDialog::Listener { |
46 public: | 46 public: |
| 47 // If you change this, update browser_proxy as well. |
47 enum Type { | 48 enum Type { |
48 TYPE_NORMAL = 0, | 49 TYPE_NORMAL = 0, |
49 TYPE_POPUP = 1, | 50 TYPE_POPUP = 1, |
50 TYPE_APP = 2, | 51 TYPE_APP = 2, |
51 TYPE_APP_POPUP = TYPE_APP | TYPE_POPUP, | 52 TYPE_APP_POPUP = TYPE_APP | TYPE_POPUP, |
52 }; | 53 }; |
53 | 54 |
54 // Possible elements of the Browser window. | 55 // Possible elements of the Browser window. |
55 enum WindowFeature { | 56 enum WindowFeature { |
56 FEATURE_TITLEBAR = 1, | 57 FEATURE_TITLEBAR = 1, |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 // Dialog box used for opening and saving files. | 804 // Dialog box used for opening and saving files. |
804 scoped_refptr<SelectFileDialog> select_file_dialog_; | 805 scoped_refptr<SelectFileDialog> select_file_dialog_; |
805 | 806 |
806 // Keep track of the encoding auto detect pref. | 807 // Keep track of the encoding auto detect pref. |
807 BooleanPrefMember encoding_auto_detect_; | 808 BooleanPrefMember encoding_auto_detect_; |
808 | 809 |
809 DISALLOW_COPY_AND_ASSIGN(Browser); | 810 DISALLOW_COPY_AND_ASSIGN(Browser); |
810 }; | 811 }; |
811 | 812 |
812 #endif // CHROME_BROWSER_BROWSER_H_ | 813 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |