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 non-https URL for background_page for hosted apps. | 11 // Allows non-https URL for background_page for hosted apps. |
12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; | 12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; |
13 | 13 |
14 // Allows the browser to load extensions that lack a modern manifest when that | 14 // Allows the browser to load extensions that lack a modern manifest when that |
15 // would otherwise be forbidden. | 15 // would otherwise be forbidden. |
16 const char kAllowLegacyExtensionManifests[] = | 16 const char kAllowLegacyExtensionManifests[] = |
17 "allow-legacy-extension-manifests"; | 17 "allow-legacy-extension-manifests"; |
18 | 18 |
19 // Enables extension options to be embedded in chrome://extensions rather than | 19 // Enables extension options to be embedded in chrome://extensions rather than |
20 // a new tab. | 20 // a new tab. |
21 const char kEmbeddedExtensionOptions[] = "embedded-extension-options"; | 21 const char kEmbeddedExtensionOptions[] = "embedded-extension-options"; |
22 | 22 |
| 23 // Enables the <appview> tag in platform apps. |
| 24 const char kEnableAppView[] = "enable-app-view"; |
| 25 |
23 // Hack so that feature switch can work with about_flags. See | 26 // Hack so that feature switch can work with about_flags. See |
24 // kEnableScriptsRequireAction. | 27 // kEnableScriptsRequireAction. |
25 const char kEnableEmbeddedExtensionOptions[] = | 28 const char kEnableEmbeddedExtensionOptions[] = |
26 "enable-embedded-extension-options"; | 29 "enable-embedded-extension-options"; |
27 | 30 |
28 // Enables extension APIs that are in development. | 31 // Enables extension APIs that are in development. |
29 const char kEnableExperimentalExtensionApis[] = | 32 const char kEnableExperimentalExtensionApis[] = |
30 "enable-experimental-extension-apis"; | 33 "enable-experimental-extension-apis"; |
31 | 34 |
32 // Hack so that feature switch can work with about_flags. See | 35 // Hack so that feature switch can work with about_flags. See |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Makes component extensions appear in chrome://settings/extensions. | 80 // Makes component extensions appear in chrome://settings/extensions. |
78 const char kShowComponentExtensionOptions[] = | 81 const char kShowComponentExtensionOptions[] = |
79 "show-component-extension-options"; | 82 "show-component-extension-options"; |
80 | 83 |
81 // Adds the given extension ID to all the permission whitelists. | 84 // Adds the given extension ID to all the permission whitelists. |
82 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 85 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
83 | 86 |
84 } // namespace switches | 87 } // namespace switches |
85 | 88 |
86 } // namespace extensions | 89 } // namespace extensions |
OLD | NEW |