OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 23 matching lines...) Expand all Loading... | |
34 | 34 |
35 // Specifies that the extension-app with the specified id should be launched | 35 // Specifies that the extension-app with the specified id should be launched |
36 // according to its configuration. | 36 // according to its configuration. |
37 const char kAppId[] = "app-id"; | 37 const char kAppId[] = "app-id"; |
38 | 38 |
39 // Lacks meaning with out kApp. Causes the specified app to be launched in an | 39 // Lacks meaning with out kApp. Causes the specified app to be launched in an |
40 // panel window. | 40 // panel window. |
41 const char kAppLaunchAsPanel[] = "app-launch-as-panel"; | 41 const char kAppLaunchAsPanel[] = "app-launch-as-panel"; |
42 | 42 |
43 // Makes the app launcher popup when a new tab is created. | 43 // Makes the app launcher popup when a new tab is created. |
44 const char kAppLauncherForNewTab[] = "app-launcher-new-tab"; | 44 const char kAppsPanel[] = "apps-panel"; |
rafaelw
2010/05/12 18:16:39
alphabetize
| |
45 | 45 |
46 // The title to use for the gallery link in the app launcher. | 46 // The title to use for the gallery link in the app launcher. |
47 const char kAppLauncherGalleryTitle[] = "app-launcher-gallery-title"; | 47 const char kAppsGalleryTitle[] = "apps-gallery-title"; |
48 | 48 |
49 // The URL to use for the gallery link in the app launcher. | 49 // The URL to use for the gallery link in the app launcher. |
50 const char kAppLauncherGalleryURL[] = "app-launcher-gallery-url"; | 50 const char kAppsGalleryURL[] = "apps-gallery-url"; |
51 | |
52 // Disable throbber for extension apps. | |
53 const char kAppsNoThrob[] = "apps-no-throb"; | |
51 | 54 |
52 // Authentication white list for servers | 55 // Authentication white list for servers |
53 const char kAuthServerWhitelist[] = "auth-server-whitelist"; | 56 const char kAuthServerWhitelist[] = "auth-server-whitelist"; |
54 | 57 |
55 // The value of this switch tells the app to listen for and broadcast | 58 // The value of this switch tells the app to listen for and broadcast |
56 // automation-related messages on IPC channel with the given ID. | 59 // automation-related messages on IPC channel with the given ID. |
57 const char kAutomationClientChannelID[] = "automation-channel"; | 60 const char kAutomationClientChannelID[] = "automation-channel"; |
58 | 61 |
59 // Enables the bookmark menu. | 62 // Enables the bookmark menu. |
60 const char kBookmarkMenu[] = "bookmark-menu"; | 63 const char kBookmarkMenu[] = "bookmark-menu"; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 | 195 |
193 // Disable syncing of preferences. | 196 // Disable syncing of preferences. |
194 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 197 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
195 | 198 |
196 // Disable syncing of themes. | 199 // Disable syncing of themes. |
197 const char kDisableSyncThemes[] = "disable-sync-themes"; | 200 const char kDisableSyncThemes[] = "disable-sync-themes"; |
198 | 201 |
199 // Disable syncing of typed urls. | 202 // Disable syncing of typed urls. |
200 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 203 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
201 | 204 |
202 // Disable throbber for extension apps. | |
203 const char kDisableThrobberForExtensionApps[] = | |
204 "disable-throbber-for-extension-apps"; | |
205 | |
206 // Enables the backend service for web resources, used in the new tab page for | 205 // Enables the backend service for web resources, used in the new tab page for |
207 // loading tips and recommendations from a JSON feed. | 206 // loading tips and recommendations from a JSON feed. |
208 const char kDisableWebResources[] = "disable-web-resources"; | 207 const char kDisableWebResources[] = "disable-web-resources"; |
209 | 208 |
210 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 209 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
211 const char kDisableWebSecurity[] = "disable-web-security"; | 210 const char kDisableWebSecurity[] = "disable-web-security"; |
212 | 211 |
213 // Disable Web Sockets support. | 212 // Disable Web Sockets support. |
214 const char kDisableWebSockets[] = "disable-web-sockets"; | 213 const char kDisableWebSockets[] = "disable-web-sockets"; |
215 | 214 |
(...skipping 16 matching lines...) Expand all Loading... | |
232 const char kDomAutomationController[] = "dom-automation"; | 231 const char kDomAutomationController[] = "dom-automation"; |
233 | 232 |
234 // Dump any accumualted histograms to the log when browser terminates (requires | 233 // Dump any accumualted histograms to the log when browser terminates (requires |
235 // logging to be enabled to really do anything). Used by developers and test | 234 // logging to be enabled to really do anything). Used by developers and test |
236 // scripts. | 235 // scripts. |
237 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 236 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
238 | 237 |
239 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 238 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
240 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 239 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
241 | 240 |
241 // Enable experimental extension apps. | |
242 const char kEnableApps[] = "enable-apps"; | |
243 | |
242 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 244 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
243 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 245 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
244 // for more background. | 246 // for more background. |
245 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 247 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
246 | 248 |
247 // Enables the benchmarking extensions. | 249 // Enables the benchmarking extensions. |
248 const char kEnableBenchmarking[] = "enable-benchmarking"; | 250 const char kEnableBenchmarking[] = "enable-benchmarking"; |
249 | 251 |
250 // Enables extension APIs that are in development. | 252 // Enables extension APIs that are in development. |
251 const char kEnableExperimentalExtensionApis[] = | 253 const char kEnableExperimentalExtensionApis[] = |
252 "enable-experimental-extension-apis"; | 254 "enable-experimental-extension-apis"; |
253 | 255 |
254 // Enable experimental WebGL support. | 256 // Enable experimental WebGL support. |
255 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 257 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
256 | 258 |
257 // Enable experimental extension apps. | |
258 const char kEnableExtensionApps[] = "enable-extension-apps"; | |
259 | |
260 // Enable experimental timeline API. | 259 // Enable experimental timeline API. |
261 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 260 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
262 | 261 |
263 // Enable extension toolstrips (deprecated API - will be removed). | 262 // Enable extension toolstrips (deprecated API - will be removed). |
264 const char kEnableExtensionToolstrips[] = "enable-extension-toolstrips"; | 263 const char kEnableExtensionToolstrips[] = "enable-extension-toolstrips"; |
265 | 264 |
266 // Enable the fastback page cache. | 265 // Enable the fastback page cache. |
267 const char kEnableFastback[] = "enable-fastback"; | 266 const char kEnableFastback[] = "enable-fastback"; |
268 | 267 |
269 // By default, cookies are not allowed on file://. They are needed for | 268 // By default, cookies are not allowed on file://. They are needed for |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
931 | 930 |
932 // ----------------------------------------------------------------------------- | 931 // ----------------------------------------------------------------------------- |
933 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 932 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
934 // | 933 // |
935 // You were going to just dump your switches here, weren't you? Instead, | 934 // You were going to just dump your switches here, weren't you? Instead, |
936 // please put them in alphabetical order above, or in order inside the | 935 // please put them in alphabetical order above, or in order inside the |
937 // appropriate ifdef at the bottom. The order should match the header. | 936 // appropriate ifdef at the bottom. The order should match the header. |
938 // ----------------------------------------------------------------------------- | 937 // ----------------------------------------------------------------------------- |
939 | 938 |
940 } // namespace switches | 939 } // namespace switches |
OLD | NEW |