| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 | 481 |
| 482 // Enables web developers to create apps for Chrome without using crx packages. | 482 // Enables web developers to create apps for Chrome without using crx packages. |
| 483 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 483 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
| 484 | 484 |
| 485 // If true devtools experimental settings are enabled. | 485 // If true devtools experimental settings are enabled. |
| 486 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 486 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
| 487 | 487 |
| 488 // Enables Drive v2 API instead of Google Documents List API. | 488 // Enables Drive v2 API instead of Google Documents List API. |
| 489 const char kEnableDriveV2Api[] = "enable-drive-v2-api"; | 489 const char kEnableDriveV2Api[] = "enable-drive-v2-api"; |
| 490 | 490 |
| 491 // Enables an interactive autocomplete UI and a way to invoke this UI from |
| 492 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated |
| 493 // autocomplete* events and logic). |
| 494 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; |
| 495 |
| 491 // Enables extensions to be easily installed from sites other than the web | 496 // 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 | 497 // store. Without this flag, they can still be installed, but must be manually |
| 493 // dragged onto chrome://extensions/. | 498 // dragged onto chrome://extensions/. |
| 494 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; | 499 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; |
| 495 | 500 |
| 496 // Enables extension APIs that are in development. | 501 // Enables extension APIs that are in development. |
| 497 const char kEnableExperimentalExtensionApis[] = | 502 const char kEnableExperimentalExtensionApis[] = |
| 498 "enable-experimental-extension-apis"; | 503 "enable-experimental-extension-apis"; |
| 499 | 504 |
| 500 // Enable autofill for new elements like checkboxes. crbug.com/157636 | 505 // Enable autofill for new elements like checkboxes. crbug.com/157636 |
| (...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 #elif defined(OS_WIN) | 1625 #elif defined(OS_WIN) |
| 1621 return CommandLine::ForCurrentProcess()->HasSwitch( | 1626 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1622 switches::kEnableChromeStyleDialogs); | 1627 switches::kEnableChromeStyleDialogs); |
| 1623 #else | 1628 #else |
| 1624 return CommandLine::ForCurrentProcess()->HasSwitch( | 1629 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1625 switches::kEnableChromeStyleDialogs); | 1630 switches::kEnableChromeStyleDialogs); |
| 1626 #endif | 1631 #endif |
| 1627 } | 1632 } |
| 1628 | 1633 |
| 1629 } // namespace chrome | 1634 } // namespace chrome |
| OLD | NEW |