| 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 #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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 389 |
| 390 // Enables the hardware acceleration of 3D CSS, Video and animation. | 390 // Enables the hardware acceleration of 3D CSS, Video and animation. |
| 391 const char kEnableAcceleratedLayers[] = "enable-accelerated-layers"; | 391 const char kEnableAcceleratedLayers[] = "enable-accelerated-layers"; |
| 392 | 392 |
| 393 // Enables WebKit accessibility within the renderer process. | 393 // Enables WebKit accessibility within the renderer process. |
| 394 const char kEnableAccessibility[] = "enable-accessibility"; | 394 const char kEnableAccessibility[] = "enable-accessibility"; |
| 395 | 395 |
| 396 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 396 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
| 397 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 397 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
| 398 | 398 |
| 399 // Enables the application section of the new tab page. | |
| 400 const char kEnableAppLauncher[] = "enable-app-launcher"; | |
| 401 | |
| 402 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 399 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
| 403 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 400 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
| 404 // for more background. | 401 // for more background. |
| 405 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 402 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
| 406 | 403 |
| 407 // Enable background mode (background apps will keep chrome running in the | 404 // Enable background mode (background apps will keep chrome running in the |
| 408 // background and allow chrome to launch on startup). Has no effect on Windows | 405 // background and allow chrome to launch on startup). Has no effect on Windows |
| 409 // because background mode is enabled there by default. | 406 // because background mode is enabled there by default. |
| 410 const char kEnableBackgroundMode[] = "enable-background-mode"; | 407 const char kEnableBackgroundMode[] = "enable-background-mode"; |
| 411 | 408 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 442 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
| 446 | 443 |
| 447 // Enable requests that webkit labels TargetIsPrefetch. As of | 444 // Enable requests that webkit labels TargetIsPrefetch. As of |
| 448 // writing only <link rel=prefetch...> but also eventually | 445 // writing only <link rel=prefetch...> but also eventually |
| 449 // Link: headers. | 446 // Link: headers. |
| 450 const char kEnableContentPrefetch[] = "enable-content-prefetch"; | 447 const char kEnableContentPrefetch[] = "enable-content-prefetch"; |
| 451 | 448 |
| 452 // Enables web developers to create apps for Chrome without using crx packages. | 449 // Enables web developers to create apps for Chrome without using crx packages. |
| 453 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 450 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
| 454 | 451 |
| 455 // Whether default apps should be installed in this profile. This flag has no | |
| 456 // effect on Chrome OS because default apps are always enabled there. | |
| 457 const char kEnableDefaultApps[] = "enable-default-apps"; | |
| 458 | |
| 459 // Enables device motion events. | 452 // Enables device motion events. |
| 460 const char kEnableDeviceMotion[] = "enable-device-motion"; | 453 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 461 | 454 |
| 462 // Enable DNS side checking of certificates. Still experimental, should only | 455 // Enable DNS side checking of certificates. Still experimental, should only |
| 463 // be used by developers at the current time. | 456 // be used by developers at the current time. |
| 464 const char kEnableDNSCertProvenanceChecking[] = | 457 const char kEnableDNSCertProvenanceChecking[] = |
| 465 "enable-dns-cert-provenance-checking"; | 458 "enable-dns-cert-provenance-checking"; |
| 466 | 459 |
| 467 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; | 460 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; |
| 468 | 461 |
| (...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 | 1370 |
| 1378 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1380 // | 1373 // |
| 1381 // You were going to just dump your switches here, weren't you? Instead, | 1374 // You were going to just dump your switches here, weren't you? Instead, |
| 1382 // please put them in alphabetical order above, or in order inside the | 1375 // please put them in alphabetical order above, or in order inside the |
| 1383 // appropriate ifdef at the bottom. The order should match the header. | 1376 // appropriate ifdef at the bottom. The order should match the header. |
| 1384 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
| 1385 | 1378 |
| 1386 } // namespace switches | 1379 } // namespace switches |
| OLD | NEW |