| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 // The Find Bar. This may be NULL if there is no Find Bar, and if it is | 816 // The Find Bar. This may be NULL if there is no Find Bar, and if it is |
| 817 // non-NULL, it may or may not be visible. | 817 // non-NULL, it may or may not be visible. |
| 818 scoped_ptr<FindBarController> find_bar_controller_; | 818 scoped_ptr<FindBarController> find_bar_controller_; |
| 819 | 819 |
| 820 // Dialog box used for opening and saving files. | 820 // Dialog box used for opening and saving files. |
| 821 scoped_refptr<SelectFileDialog> select_file_dialog_; | 821 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 822 | 822 |
| 823 // Keep track of the encoding auto detect pref. | 823 // Keep track of the encoding auto detect pref. |
| 824 BooleanPrefMember encoding_auto_detect_; | 824 BooleanPrefMember encoding_auto_detect_; |
| 825 | 825 |
| 826 // Different types of action when web app info is available. |
| 827 // OnDidGetApplicationInfo uses this to dispatch calls. |
| 828 enum WebAppAction { |
| 829 NONE, // No action at all. |
| 830 CREATE_SHORTCUT, // Bring up create application shortcut dialog. |
| 831 UPDATE_SHORTCUT // Update icon for app shortcut. |
| 832 }; |
| 833 |
| 834 // Which deferred action to perform when OnDidGetApplicationInfo is notified |
| 835 // from a TabContents. Currently, only one pending action is allowed. |
| 836 WebAppAction pending_web_app_action_; |
| 837 |
| 826 DISALLOW_COPY_AND_ASSIGN(Browser); | 838 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 827 }; | 839 }; |
| 828 | 840 |
| 829 #endif // CHROME_BROWSER_BROWSER_H_ | 841 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |