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 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const char kExtensionProcess[] = "extension-process"; | 71 const char kExtensionProcess[] = "extension-process"; |
72 | 72 |
73 // Enables extensions running scripts on chrome:// URLs. | 73 // Enables extensions running scripts on chrome:// URLs. |
74 // Extensions still need to explicitly request access to chrome:// URLs in the | 74 // Extensions still need to explicitly request access to chrome:// URLs in the |
75 // manifest. | 75 // manifest. |
76 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 76 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
77 | 77 |
78 // Whether to force developer mode extensions highlighting. | 78 // Whether to force developer mode extensions highlighting. |
79 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; | 79 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; |
80 | 80 |
| 81 // Path to a comma-separated list of apps to load at startup. The first app in |
| 82 // the list will be launched. |
| 83 const char kLoadApps[] = "load-apps"; |
| 84 |
81 // Whether or not mime handler view guests are enabled. | 85 // Whether or not mime handler view guests are enabled. |
82 const char kMimeHandlerView[] = "mime-handler-view"; | 86 const char kMimeHandlerView[] = "mime-handler-view"; |
83 | 87 |
84 // Notify the user and require consent for extensions running scripts. | 88 // Notify the user and require consent for extensions running scripts. |
85 // Appending --scripts-require-action=1 has the same effect as | 89 // Appending --scripts-require-action=1 has the same effect as |
86 // --enable-scripts-require-action (see below). | 90 // --enable-scripts-require-action (see below). |
87 const char kScriptsRequireAction[] = "scripts-require-action"; | 91 const char kScriptsRequireAction[] = "scripts-require-action"; |
88 // FeatureSwitch and about_flags don't play nice. Feature switch expects either | 92 // FeatureSwitch and about_flags don't play nice. Feature switch expects either |
89 // --enable-<feature> or --<feature>=1, but about_flags expects the command | 93 // --enable-<feature> or --<feature>=1, but about_flags expects the command |
90 // line argument to enable it (or a selection). Hack this in, so enabling it | 94 // line argument to enable it (or a selection). Hack this in, so enabling it |
91 // in about_flags enables the feature. Appending this flag has the same effect | 95 // in about_flags enables the feature. Appending this flag has the same effect |
92 // as --scripts-require-action=1. | 96 // as --scripts-require-action=1. |
93 const char kEnableScriptsRequireAction[] = "enable-scripts-require-action"; | 97 const char kEnableScriptsRequireAction[] = "enable-scripts-require-action"; |
94 | 98 |
95 // Makes component extensions appear in chrome://settings/extensions. | 99 // Makes component extensions appear in chrome://settings/extensions. |
96 const char kShowComponentExtensionOptions[] = | 100 const char kShowComponentExtensionOptions[] = |
97 "show-component-extension-options"; | 101 "show-component-extension-options"; |
98 | 102 |
99 // Adds the given extension ID to all the permission whitelists. | 103 // Adds the given extension ID to all the permission whitelists. |
100 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 104 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
101 | 105 |
102 // Pass launch source to platform apps. | 106 // Pass launch source to platform apps. |
103 const char kTraceAppSource[] = "enable-trace-app-source"; | 107 const char kTraceAppSource[] = "enable-trace-app-source"; |
104 | 108 |
105 } // namespace switches | 109 } // namespace switches |
106 | 110 |
107 } // namespace extensions | 111 } // namespace extensions |
OLD | NEW |