OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/switches.h" | 5 #include "extensions/common/switches.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // Allows the browser to load extensions that lack a modern manifest when that | 11 // Allows the browser to load extensions that lack a modern manifest when that |
12 // would otherwise be forbidden. | 12 // would otherwise be forbidden. |
13 const char kAllowLegacyExtensionManifests[] = | 13 const char kAllowLegacyExtensionManifests[] = |
14 "allow-legacy-extension-manifests"; | 14 "allow-legacy-extension-manifests"; |
15 | 15 |
16 // Allows injecting extensions and user scripts on the extensions gallery | 16 // Allows injecting extensions and user scripts on the extensions gallery |
17 // site. Normally prevented for security reasons, but can be useful for | 17 // site. Normally prevented for security reasons, but can be useful for |
18 // automation testing of the gallery. | 18 // automation testing of the gallery. |
19 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 19 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
20 | 20 |
| 21 // Enables extension APIs that are in development. |
| 22 const char kEnableExperimentalExtensionApis[] = |
| 23 "enable-experimental-extension-apis"; |
| 24 |
21 // Enables extensions running scripts on chrome:// URLs. | 25 // Enables extensions running scripts on chrome:// URLs. |
22 // Extensions still need to explicitly request access to chrome:// URLs in the | 26 // Extensions still need to explicitly request access to chrome:// URLs in the |
23 // manifest. | 27 // manifest. |
24 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 28 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
25 | 29 |
26 // Makes component extensions appear in chrome://settings/extensions. | 30 // Makes component extensions appear in chrome://settings/extensions. |
27 const char kShowComponentExtensionOptions[] = | 31 const char kShowComponentExtensionOptions[] = |
28 "show-component-extension-options"; | 32 "show-component-extension-options"; |
29 | 33 |
30 } // namespace switches | 34 } // namespace switches |
31 | 35 |
32 } // namespace extensions | 36 } // namespace extensions |
OLD | NEW |