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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 487 | 487 |
| 488 // Enables extensions to be easily installed from sites other than the web | 488 // Enables extensions to be easily installed from sites other than the web |
| 489 // store. Without this flag, they can still be installed, but must be manually | 489 // store. Without this flag, they can still be installed, but must be manually |
| 490 // dragged onto chrome://extensions/. | 490 // dragged onto chrome://extensions/. |
| 491 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; | 491 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; |
| 492 | 492 |
| 493 // Enables extension APIs that are in development. | 493 // Enables extension APIs that are in development. |
| 494 const char kEnableExperimentalExtensionApis[] = | 494 const char kEnableExperimentalExtensionApis[] = |
| 495 "enable-experimental-extension-apis"; | 495 "enable-experimental-extension-apis"; |
| 496 | 496 |
| 497 // Enable autofill for new elements like checkboxes. crbug.com/157636 | |
|
Nico
2012/11/02 16:42:11
Code looks fine, but the tracking bug has several
| |
| 498 const char kEnableExperimentalFormFilling[] = | |
| 499 "enable-experimental-form-filling"; | |
| 500 | |
| 497 // Enables logging for extension activity. | 501 // Enables logging for extension activity. |
| 498 const char kEnableExtensionActivityLogging[] = | 502 const char kEnableExtensionActivityLogging[] = |
| 499 "enable-extension-activity-logging"; | 503 "enable-extension-activity-logging"; |
| 500 | 504 |
| 501 // Enables the extension activity UI. | 505 // Enables the extension activity UI. |
| 502 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; | 506 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; |
| 503 | 507 |
| 504 // Enables or disables showing extensions in the action box. | 508 // Enables or disables showing extensions in the action box. |
| 505 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 509 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
| 506 | 510 |
| (...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1580 return true; | 1584 return true; |
| 1581 #elif defined(OS_WIN) | 1585 #elif defined(OS_WIN) |
| 1582 return true; | 1586 return true; |
| 1583 #else | 1587 #else |
| 1584 return CommandLine::ForCurrentProcess()->HasSwitch( | 1588 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1585 switches::kEnableFramelessConstrainedDialogs); | 1589 switches::kEnableFramelessConstrainedDialogs); |
| 1586 #endif | 1590 #endif |
| 1587 } | 1591 } |
| 1588 | 1592 |
| 1589 } // namespace chrome | 1593 } // namespace chrome |
| OLD | NEW |