| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 490 |
| 491 // Enables extensions to be easily installed from sites other than the web | 491 // Enables extensions to be easily installed from sites other than the web |
| 492 // store. Without this flag, they can still be installed, but must be manually | 492 // store. Without this flag, they can still be installed, but must be manually |
| 493 // dragged onto chrome://extensions/. | 493 // dragged onto chrome://extensions/. |
| 494 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; | 494 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; |
| 495 | 495 |
| 496 // Enables extension APIs that are in development. | 496 // Enables extension APIs that are in development. |
| 497 const char kEnableExperimentalExtensionApis[] = | 497 const char kEnableExperimentalExtensionApis[] = |
| 498 "enable-experimental-extension-apis"; | 498 "enable-experimental-extension-apis"; |
| 499 | 499 |
| 500 // Enable autofill for new elements like checkboxes. crbug.com/157636 |
| 501 const char kEnableExperimentalFormFilling[] = |
| 502 "enable-experimental-form-filling"; |
| 503 |
| 500 // Enables logging for extension activity. | 504 // Enables logging for extension activity. |
| 501 const char kEnableExtensionActivityLogging[] = | 505 const char kEnableExtensionActivityLogging[] = |
| 502 "enable-extension-activity-logging"; | 506 "enable-extension-activity-logging"; |
| 503 | 507 |
| 504 // Enables the extension activity UI. | 508 // Enables the extension activity UI. |
| 505 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; | 509 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; |
| 506 | 510 |
| 507 // Enables or disables showing extensions in the action box. | 511 // Enables or disables showing extensions in the action box. |
| 508 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 512 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
| 509 | 513 |
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1616 #elif defined(OS_WIN) | 1620 #elif defined(OS_WIN) |
| 1617 return CommandLine::ForCurrentProcess()->HasSwitch( | 1621 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1618 switches::kEnableChromeStyleDialogs); | 1622 switches::kEnableChromeStyleDialogs); |
| 1619 #else | 1623 #else |
| 1620 return CommandLine::ForCurrentProcess()->HasSwitch( | 1624 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1621 switches::kEnableChromeStyleDialogs); | 1625 switches::kEnableChromeStyleDialogs); |
| 1622 #endif | 1626 #endif |
| 1623 } | 1627 } |
| 1624 | 1628 |
| 1625 } // namespace chrome | 1629 } // namespace chrome |
| OLD | NEW |