Chromium Code Reviews| 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 447 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 447 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
| 448 | 448 |
| 449 // Enables the experimental asynchronous DNS client. | 449 // Enables the experimental asynchronous DNS client. |
| 450 const char kEnableAsyncDns[] = "enable-async-dns"; | 450 const char kEnableAsyncDns[] = "enable-async-dns"; |
| 451 | 451 |
| 452 // Enables the inclusion of non-standard ports when generating the Kerberos SPN | 452 // Enables the inclusion of non-standard ports when generating the Kerberos SPN |
| 453 // in response to a Negotiate challenge. See | 453 // in response to a Negotiate challenge. See |
| 454 // HttpAuthHandlerNegotiate::CreateSPN for more background. | 454 // HttpAuthHandlerNegotiate::CreateSPN for more background. |
| 455 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 455 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
| 456 | 456 |
| 457 // Enable autofill for new elements like checkboxes. crbug.com/157636 | |
| 458 const char kEnableAutofillNewElements[] = "enable-autofill-new-elements"; | |
|
Albert Bodenhamer
2012/10/28 17:25:36
Switch name should be named differently as well.
| |
| 459 | |
| 457 // Enables the pre- and auto-login features. When a user signs in to sync, the | 460 // Enables the pre- and auto-login features. When a user signs in to sync, the |
| 458 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a | 461 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a |
| 459 // GAIA login page, an info bar can help the user login. | 462 // GAIA login page, an info bar can help the user login. |
| 460 const char kEnableAutologin[] = "enable-autologin"; | 463 const char kEnableAutologin[] = "enable-autologin"; |
| 461 | 464 |
| 462 // Enables the benchmarking extensions. | 465 // Enables the benchmarking extensions. |
| 463 const char kEnableBenchmarking[] = "enable-benchmarking"; | 466 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 464 | 467 |
| 465 // Enables the bundled PPAPI version of Flash. | 468 // Enables the bundled PPAPI version of Flash. |
| 466 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; | 469 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; |
| (...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1580 return true; | 1583 return true; |
| 1581 #elif defined(OS_WIN) | 1584 #elif defined(OS_WIN) |
| 1582 return true; | 1585 return true; |
| 1583 #else | 1586 #else |
| 1584 return CommandLine::ForCurrentProcess()->HasSwitch( | 1587 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1585 switches::kEnableFramelessConstrainedDialogs); | 1588 switches::kEnableFramelessConstrainedDialogs); |
| 1586 #endif | 1589 #endif |
| 1587 } | 1590 } |
| 1588 | 1591 |
| 1589 } // namespace chrome | 1592 } // namespace chrome |
| OLD | NEW |