| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 const char kDisableSyncThemes[] = "disable-sync-themes"; | 402 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 403 | 403 |
| 404 // Disables syncing browser typed urls. | 404 // Disables syncing browser typed urls. |
| 405 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 405 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 406 | 406 |
| 407 // Allows disabling of translate from the command line to assist with automated | 407 // Allows disabling of translate from the command line to assist with automated |
| 408 // browser testing (e.g. Selenium/WebDriver). Normal browser users should | 408 // browser testing (e.g. Selenium/WebDriver). Normal browser users should |
| 409 // disable translate with the preference. | 409 // disable translate with the preference. |
| 410 const char kDisableTranslate[] = "disable-translate"; | 410 const char kDisableTranslate[] = "disable-translate"; |
| 411 | 411 |
| 412 // Disables TLS Channel ID extension. |
| 413 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; |
| 414 |
| 412 // Disables the backend service for web resources. | 415 // Disables the backend service for web resources. |
| 413 const char kDisableWebResources[] = "disable-web-resources"; | 416 const char kDisableWebResources[] = "disable-web-resources"; |
| 414 | 417 |
| 415 // Disables the website settings UI. | 418 // Disables the website settings UI. |
| 416 const char kDisableWebsiteSettings[] = "disable-website-settings"; | 419 const char kDisableWebsiteSettings[] = "disable-website-settings"; |
| 417 | 420 |
| 418 // Some tests seem to require the application to close when the last | 421 // Some tests seem to require the application to close when the last |
| 419 // browser window is closed. Thus, we need a switch to force this behavior | 422 // browser window is closed. Thus, we need a switch to force this behavior |
| 420 // for ChromeOS Aura, disable "zero window mode". | 423 // for ChromeOS Aura, disable "zero window mode". |
| 421 // TODO(pkotwicz): Investigate if this bug can be removed. | 424 // TODO(pkotwicz): Investigate if this bug can be removed. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 // Enables hardware exception handling via debugger process. | 582 // Enables hardware exception handling via debugger process. |
| 580 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; | 583 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; |
| 581 | 584 |
| 582 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. | 585 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. |
| 583 const char kEnableNpn[] = "enable-npn"; | 586 const char kEnableNpn[] = "enable-npn"; |
| 584 | 587 |
| 585 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 588 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
| 586 // HTTP is still used for all requests. | 589 // HTTP is still used for all requests. |
| 587 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 590 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 588 | 591 |
| 589 // Enables TLS Channel ID extension. (The switch is still called | |
| 590 // "enable-origin-bound-certs" for backwards compatability.) | |
| 591 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; | |
| 592 | |
| 593 // Enables panels (always on-top docked pop-up windows). | 592 // Enables panels (always on-top docked pop-up windows). |
| 594 const char kEnablePanels[] = "enable-panels"; | 593 const char kEnablePanels[] = "enable-panels"; |
| 595 | 594 |
| 596 // Enables password generation when we detect that the user is going through | 595 // Enables password generation when we detect that the user is going through |
| 597 // account creation. | 596 // account creation. |
| 598 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 597 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 599 | 598 |
| 600 // Enables content settings based on host *and* plug-in in the user | 599 // Enables content settings based on host *and* plug-in in the user |
| 601 // preferences. | 600 // preferences. |
| 602 const char kEnableResourceContentSettings[] = | 601 const char kEnableResourceContentSettings[] = |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 | 1575 |
| 1577 // ----------------------------------------------------------------------------- | 1576 // ----------------------------------------------------------------------------- |
| 1578 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1577 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1579 // | 1578 // |
| 1580 // You were going to just dump your switches here, weren't you? Instead, please | 1579 // You were going to just dump your switches here, weren't you? Instead, please |
| 1581 // put them in alphabetical order above, or in order inside the appropriate | 1580 // put them in alphabetical order above, or in order inside the appropriate |
| 1582 // ifdef at the bottom. The order should match the header. | 1581 // ifdef at the bottom. The order should match the header. |
| 1583 // ----------------------------------------------------------------------------- | 1582 // ----------------------------------------------------------------------------- |
| 1584 | 1583 |
| 1585 } // namespace switches | 1584 } // namespace switches |
| OLD | NEW |