OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 | 11 |
12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
13 #include "components/autofill/core/common/autofill_switches.h" | 13 #include "components/autofill/core/common/autofill_switches.h" |
14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
15 #include "components/password_manager/core/common/password_manager_switches.h" | 15 #include "components/password_manager/core/common/password_manager_switches.h" |
16 #include "components/signin/core/common/signin_switches.h" | 16 #include "components/signin/core/common/signin_switches.h" |
17 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
18 | 18 |
19 namespace switches { | 19 namespace switches { |
20 | 20 |
21 // ----------------------------------------------------------------------------- | 21 // ----------------------------------------------------------------------------- |
22 // Can't find the switch you are looking for? Try looking in | 22 // Can't find the switch you are looking for? Try looking in |
23 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 23 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
24 // .cc files corresponding to the *_switches.h files included above | 24 // .cc files corresponding to the *_switches.h files included above |
25 // instead. | 25 // instead. |
26 // ----------------------------------------------------------------------------- | 26 // ----------------------------------------------------------------------------- |
27 | 27 |
28 // All switches in alphabetical order. The switches should be documented | 28 // All switches in alphabetical order. The switches should be documented |
29 // alongside the definition of their values in the .cc file. | 29 // alongside the definition of their values in the .cc file. |
| 30 extern const char kActivateExistingProfileBrowser[]; |
30 extern const char kAllowCrossOriginAuthPrompt[]; | 31 extern const char kAllowCrossOriginAuthPrompt[]; |
31 extern const char kAllowFileAccess[]; | 32 extern const char kAllowFileAccess[]; |
32 extern const char kAllowHttpScreenCapture[]; | 33 extern const char kAllowHttpScreenCapture[]; |
33 extern const char kAllowOutdatedPlugins[]; | 34 extern const char kAllowOutdatedPlugins[]; |
34 extern const char kAllowRunningInsecureContent[]; | 35 extern const char kAllowRunningInsecureContent[]; |
35 extern const char kAlternateProtocolProbabilityThreshold[]; | 36 extern const char kAlternateProtocolProbabilityThreshold[]; |
36 extern const char kAlwaysAuthorizePlugins[]; | 37 extern const char kAlwaysAuthorizePlugins[]; |
37 extern const char kAppId[]; | 38 extern const char kAppId[]; |
38 extern const char kApp[]; | 39 extern const char kApp[]; |
39 extern const char kAppListStartPageURL[]; | 40 extern const char kAppListStartPageURL[]; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 extern const char kUseSimpleCacheBackend[]; | 332 extern const char kUseSimpleCacheBackend[]; |
332 extern const char kUseSpdy[]; | 333 extern const char kUseSpdy[]; |
333 extern const char kUserAgent[]; | 334 extern const char kUserAgent[]; |
334 extern const char kUserDataDir[]; | 335 extern const char kUserDataDir[]; |
335 extern const char kValidateCrx[]; | 336 extern const char kValidateCrx[]; |
336 extern const char kVariationsServerURL[]; | 337 extern const char kVariationsServerURL[]; |
337 extern const char kVersion[]; | 338 extern const char kVersion[]; |
338 extern const char kWindowPosition[]; | 339 extern const char kWindowPosition[]; |
339 extern const char kWindowSize[]; | 340 extern const char kWindowSize[]; |
340 extern const char kWinHttpProxyResolver[]; | 341 extern const char kWinHttpProxyResolver[]; |
| 342 extern const char kWinJumplistAction[]; |
341 | 343 |
342 #if defined(ENABLE_PLUGIN_INSTALLATION) | 344 #if defined(ENABLE_PLUGIN_INSTALLATION) |
343 extern const char kPluginsMetadataServerURL[]; | 345 extern const char kPluginsMetadataServerURL[]; |
344 #endif | 346 #endif |
345 | 347 |
346 #if defined(OS_ANDROID) | 348 #if defined(OS_ANDROID) |
347 extern const char kDisableCast[]; | 349 extern const char kDisableCast[]; |
348 extern const char kDisableContextualSearch[]; | 350 extern const char kDisableContextualSearch[]; |
349 extern const char kDisableZeroSuggest[]; | 351 extern const char kDisableZeroSuggest[]; |
350 extern const char kEnableAccessibilityTabSwitcher[]; | 352 extern const char kEnableAccessibilityTabSwitcher[]; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 #if defined(OS_CHROMEOS) | 406 #if defined(OS_CHROMEOS) |
405 bool PowerOverlayEnabled(); | 407 bool PowerOverlayEnabled(); |
406 #endif | 408 #endif |
407 | 409 |
408 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
409 // alphabetical order, or in one of the ifdefs (also in order in each section). | 411 // alphabetical order, or in one of the ifdefs (also in order in each section). |
410 | 412 |
411 } // namespace switches | 413 } // namespace switches |
412 | 414 |
413 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |