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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 | 1082 |
1083 // Dialog box used for opening and saving files. | 1083 // Dialog box used for opening and saving files. |
1084 scoped_refptr<SelectFileDialog> select_file_dialog_; | 1084 scoped_refptr<SelectFileDialog> select_file_dialog_; |
1085 | 1085 |
1086 // Keep track of the encoding auto detect pref. | 1086 // Keep track of the encoding auto detect pref. |
1087 BooleanPrefMember encoding_auto_detect_; | 1087 BooleanPrefMember encoding_auto_detect_; |
1088 | 1088 |
1089 // Keep track of the printing enabled pref. | 1089 // Keep track of the printing enabled pref. |
1090 BooleanPrefMember printing_enabled_; | 1090 BooleanPrefMember printing_enabled_; |
1091 | 1091 |
1092 // Keep track of when instant enabled changes. | |
1093 BooleanPrefMember instant_enabled_; | |
1094 | |
1095 // Indicates if command execution is blocked. | 1092 // Indicates if command execution is blocked. |
1096 bool block_command_execution_; | 1093 bool block_command_execution_; |
1097 | 1094 |
1098 // Stores the last blocked command id when |block_command_execution_| is true. | 1095 // Stores the last blocked command id when |block_command_execution_| is true. |
1099 int last_blocked_command_id_; | 1096 int last_blocked_command_id_; |
1100 | 1097 |
1101 // Stores the disposition type of the last blocked command. | 1098 // Stores the disposition type of the last blocked command. |
1102 WindowOpenDisposition last_blocked_command_disposition_; | 1099 WindowOpenDisposition last_blocked_command_disposition_; |
1103 | 1100 |
1104 // Different types of action when web app info is available. | 1101 // Different types of action when web app info is available. |
(...skipping 17 matching lines...) Expand all Loading... |
1122 // The profile's tab restore service. The service is owned by the profile, | 1119 // The profile's tab restore service. The service is owned by the profile, |
1123 // and we install ourselves as an observer. | 1120 // and we install ourselves as an observer. |
1124 TabRestoreService* tab_restore_service_; | 1121 TabRestoreService* tab_restore_service_; |
1125 | 1122 |
1126 scoped_ptr<InstantController> instant_; | 1123 scoped_ptr<InstantController> instant_; |
1127 | 1124 |
1128 DISALLOW_COPY_AND_ASSIGN(Browser); | 1125 DISALLOW_COPY_AND_ASSIGN(Browser); |
1129 }; | 1126 }; |
1130 | 1127 |
1131 #endif // CHROME_BROWSER_BROWSER_H_ | 1128 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |