OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 | 1105 |
1106 // Keep track of the printing enabled pref. | 1106 // Keep track of the printing enabled pref. |
1107 BooleanPrefMember printing_enabled_; | 1107 BooleanPrefMember printing_enabled_; |
1108 | 1108 |
1109 // Keep track of the development tools disabled pref. | 1109 // Keep track of the development tools disabled pref. |
1110 BooleanPrefMember dev_tools_disabled_; | 1110 BooleanPrefMember dev_tools_disabled_; |
1111 | 1111 |
1112 // Keep track of when instant enabled changes. | 1112 // Keep track of when instant enabled changes. |
1113 BooleanPrefMember instant_enabled_; | 1113 BooleanPrefMember instant_enabled_; |
1114 | 1114 |
| 1115 // Tracks the preference that controls whether incognito mode is allowed. |
| 1116 BooleanPrefMember incognito_mode_allowed_; |
| 1117 |
1115 // Indicates if command execution is blocked. | 1118 // Indicates if command execution is blocked. |
1116 bool block_command_execution_; | 1119 bool block_command_execution_; |
1117 | 1120 |
1118 // Stores the last blocked command id when |block_command_execution_| is true. | 1121 // Stores the last blocked command id when |block_command_execution_| is true. |
1119 int last_blocked_command_id_; | 1122 int last_blocked_command_id_; |
1120 | 1123 |
1121 // Stores the disposition type of the last blocked command. | 1124 // Stores the disposition type of the last blocked command. |
1122 WindowOpenDisposition last_blocked_command_disposition_; | 1125 WindowOpenDisposition last_blocked_command_disposition_; |
1123 | 1126 |
1124 // Different types of action when web app info is available. | 1127 // Different types of action when web app info is available. |
(...skipping 15 matching lines...) Expand all Loading... |
1140 // and we install ourselves as an observer. | 1143 // and we install ourselves as an observer. |
1141 TabRestoreService* tab_restore_service_; | 1144 TabRestoreService* tab_restore_service_; |
1142 | 1145 |
1143 scoped_ptr<InstantController> instant_; | 1146 scoped_ptr<InstantController> instant_; |
1144 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1147 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
1145 | 1148 |
1146 DISALLOW_COPY_AND_ASSIGN(Browser); | 1149 DISALLOW_COPY_AND_ASSIGN(Browser); |
1147 }; | 1150 }; |
1148 | 1151 |
1149 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1152 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |