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 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 "disable-offline-auto-reload-visible-only"; | 255 "disable-offline-auto-reload-visible-only"; |
256 | 256 |
257 // Disable out-of-process V8 proxy resolver. | 257 // Disable out-of-process V8 proxy resolver. |
258 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; | 258 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; |
259 | 259 |
260 // Disables permission action reporting to Safe Browsing servers for opted in | 260 // Disables permission action reporting to Safe Browsing servers for opted in |
261 // users. | 261 // users. |
262 const char kDisablePermissionActionReporting[] = | 262 const char kDisablePermissionActionReporting[] = |
263 "disable-permission-action-reporting"; | 263 "disable-permission-action-reporting"; |
264 | 264 |
265 // Disables the Permissions Blacklist, which blocks access to permissions | |
266 // for blacklisted sites. | |
267 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; | |
268 | |
269 // Disable pop-up blocking. | 265 // Disable pop-up blocking. |
270 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 266 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
271 | 267 |
272 // Disables print preview (For testing, and for users who don't like us. :[ ) | 268 // Disables print preview (For testing, and for users who don't like us. :[ ) |
273 const char kDisablePrintPreview[] = "disable-print-preview"; | 269 const char kDisablePrintPreview[] = "disable-print-preview"; |
274 | 270 |
275 // Normally when the user attempts to navigate to a page that was the result of | 271 // Normally when the user attempts to navigate to a page that was the result of |
276 // a post we prompt to make sure they want to. This switch may be used to | 272 // a post we prompt to make sure they want to. This switch may be used to |
277 // disable that check. This switch is used during automated testing. | 273 // disable that check. This switch is used during automated testing. |
278 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 274 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 398 |
403 // Only auto-reload error pages when the tab is visible. | 399 // Only auto-reload error pages when the tab is visible. |
404 const char kEnableOfflineAutoReloadVisibleOnly[] = | 400 const char kEnableOfflineAutoReloadVisibleOnly[] = |
405 "enable-offline-auto-reload-visible-only"; | 401 "enable-offline-auto-reload-visible-only"; |
406 | 402 |
407 // Enables permission action reporting to Safe Browsing servers for opted in | 403 // Enables permission action reporting to Safe Browsing servers for opted in |
408 // users. | 404 // users. |
409 const char kEnablePermissionActionReporting[] = | 405 const char kEnablePermissionActionReporting[] = |
410 "enable-permission-action-reporting"; | 406 "enable-permission-action-reporting"; |
411 | 407 |
412 // Enables the Permissions Blacklist, which blocks access to permissions | |
413 // for blacklisted sites. | |
414 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; | |
415 | |
416 // Enables a number of potentially annoying security features (strict mixed | 408 // Enables a number of potentially annoying security features (strict mixed |
417 // content mode, powerful feature restrictions, etc.) | 409 // content mode, powerful feature restrictions, etc.) |
418 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = | 410 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = |
419 "enable-potentially-annoying-security-features"; | 411 "enable-potentially-annoying-security-features"; |
420 | 412 |
421 // Enables the Power overlay in Settings. | 413 // Enables the Power overlay in Settings. |
422 const char kEnablePowerOverlay[] = "enable-power-overlay"; | 414 const char kEnablePowerOverlay[] = "enable-power-overlay"; |
423 | 415 |
424 // Enables showing unregistered printers in print preview | 416 // Enables showing unregistered printers in print preview |
425 const char kEnablePrintPreviewRegisterPromos[] = | 417 const char kEnablePrintPreviewRegisterPromos[] = |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 | 1310 |
1319 // ----------------------------------------------------------------------------- | 1311 // ----------------------------------------------------------------------------- |
1320 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1312 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1321 // | 1313 // |
1322 // You were going to just dump your switches here, weren't you? Instead, please | 1314 // You were going to just dump your switches here, weren't you? Instead, please |
1323 // put them in alphabetical order above, or in order inside the appropriate | 1315 // put them in alphabetical order above, or in order inside the appropriate |
1324 // ifdef at the bottom. The order should match the header. | 1316 // ifdef at the bottom. The order should match the header. |
1325 // ----------------------------------------------------------------------------- | 1317 // ----------------------------------------------------------------------------- |
1326 | 1318 |
1327 } // namespace switches | 1319 } // namespace switches |
OLD | NEW |