OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // Disable auto-reload of error pages if offline. | 248 // Disable auto-reload of error pages if offline. |
249 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 249 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
250 | 250 |
251 // Disable only auto-reloading error pages when the tab is visible. | 251 // Disable only auto-reloading error pages when the tab is visible. |
252 const char kDisableOfflineAutoReloadVisibleOnly[] = | 252 const char kDisableOfflineAutoReloadVisibleOnly[] = |
253 "disable-offline-auto-reload-visible-only"; | 253 "disable-offline-auto-reload-visible-only"; |
254 | 254 |
255 // Disable out-of-process V8 proxy resolver. | 255 // Disable out-of-process V8 proxy resolver. |
256 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; | 256 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; |
257 | 257 |
258 // Disables panels (always on-top docked pop-up windows). | |
259 const char kDisablePanels[] = "disable-panels"; | |
260 | |
261 // Disables permission action reporting to Safe Browsing servers for opted in | 258 // Disables permission action reporting to Safe Browsing servers for opted in |
262 // users. | 259 // users. |
263 const char kDisablePermissionActionReporting[] = | 260 const char kDisablePermissionActionReporting[] = |
264 "disable-permission-action-reporting"; | 261 "disable-permission-action-reporting"; |
265 | 262 |
266 // Disables the Permissions Blacklist, which blocks access to permissions | 263 // Disables the Permissions Blacklist, which blocks access to permissions |
267 // for blacklisted sites. | 264 // for blacklisted sites. |
268 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; | 265 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; |
269 | 266 |
270 // Disable pop-up blocking. | 267 // Disable pop-up blocking. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 // Enables the new bookmark app system. | 409 // Enables the new bookmark app system. |
413 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; | 410 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
414 | 411 |
415 // Enable auto-reload of error pages if offline. | 412 // Enable auto-reload of error pages if offline. |
416 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 413 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
417 | 414 |
418 // Only auto-reload error pages when the tab is visible. | 415 // Only auto-reload error pages when the tab is visible. |
419 const char kEnableOfflineAutoReloadVisibleOnly[] = | 416 const char kEnableOfflineAutoReloadVisibleOnly[] = |
420 "enable-offline-auto-reload-visible-only"; | 417 "enable-offline-auto-reload-visible-only"; |
421 | 418 |
422 // Enables panels (always on-top docked pop-up windows). | |
423 const char kEnablePanels[] = "enable-panels"; | |
424 | |
425 // Enables permission action reporting to Safe Browsing servers for opted in | 419 // Enables permission action reporting to Safe Browsing servers for opted in |
426 // users. | 420 // users. |
427 const char kEnablePermissionActionReporting[] = | 421 const char kEnablePermissionActionReporting[] = |
428 "enable-permission-action-reporting"; | 422 "enable-permission-action-reporting"; |
429 | 423 |
430 // Enables the Permissions Blacklist, which blocks access to permissions | 424 // Enables the Permissions Blacklist, which blocks access to permissions |
431 // for blacklisted sites. | 425 // for blacklisted sites. |
432 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; | 426 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; |
433 | 427 |
434 // Enables a number of potentially annoying security features (strict mixed | 428 // Enables a number of potentially annoying security features (strict mixed |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 | 1314 |
1321 // ----------------------------------------------------------------------------- | 1315 // ----------------------------------------------------------------------------- |
1322 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1316 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1323 // | 1317 // |
1324 // You were going to just dump your switches here, weren't you? Instead, please | 1318 // You were going to just dump your switches here, weren't you? Instead, please |
1325 // put them in alphabetical order above, or in order inside the appropriate | 1319 // put them in alphabetical order above, or in order inside the appropriate |
1326 // ifdef at the bottom. The order should match the header. | 1320 // ifdef at the bottom. The order should match the header. |
1327 // ----------------------------------------------------------------------------- | 1321 // ----------------------------------------------------------------------------- |
1328 | 1322 |
1329 } // namespace switches | 1323 } // namespace switches |
OLD | NEW |