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 extensions to be easily installed from sites other than the web | |
20 // store. Without this flag, they can still be installed, but must be manually | |
21 // dragged onto chrome://extensions/. | |
22 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; | |
23 | |
24 // Enables extension APIs that are in development. | 19 // Enables extension APIs that are in development. |
25 const char kEnableExperimentalExtensionApis[] = | 20 const char kEnableExperimentalExtensionApis[] = |
26 "enable-experimental-extension-apis"; | 21 "enable-experimental-extension-apis"; |
27 | 22 |
28 // Enables extensions to hide bookmarks UI elements. | 23 // Enables extensions to hide bookmarks UI elements. |
29 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; | 24 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; |
30 | 25 |
31 // Allows the ErrorConsole to collect runtime and manifest errors, and display | 26 // Allows the ErrorConsole to collect runtime and manifest errors, and display |
32 // them in the chrome:extensions page. | 27 // them in the chrome:extensions page. |
33 const char kErrorConsole[] = "error-console"; | 28 const char kErrorConsole[] = "error-console"; |
(...skipping 23 matching lines...) Expand all Loading... |
57 // Makes component extensions appear in chrome://settings/extensions. | 52 // Makes component extensions appear in chrome://settings/extensions. |
58 const char kShowComponentExtensionOptions[] = | 53 const char kShowComponentExtensionOptions[] = |
59 "show-component-extension-options"; | 54 "show-component-extension-options"; |
60 | 55 |
61 // Adds the given extension ID to all the permission whitelists. | 56 // Adds the given extension ID to all the permission whitelists. |
62 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 57 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
63 | 58 |
64 } // namespace switches | 59 } // namespace switches |
65 | 60 |
66 } // namespace extensions | 61 } // namespace extensions |
OLD | NEW |