| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 | 12 |
| 13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
| 14 #include "content/common/content_switches.h" | 14 #include "content/common/content_switches.h" |
| 15 | 15 |
| 16 namespace switches { | 16 namespace switches { |
| 17 | 17 |
| 18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
| 19 // Can't find the switch you are looking for? Try looking in | 19 // Can't find the switch you are looking for? Try looking in |
| 20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or | 20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or |
| 21 // content/common/content_switches.cc or media/base/media_switches.cc instead. | 21 // content/common/content_switches.cc or media/base/media_switches.cc instead. |
| 22 // ----------------------------------------------------------------------------- | 22 // ----------------------------------------------------------------------------- |
| 23 | 23 |
| 24 // All switches in alphabetical order. The switches should be documented | 24 // All switches in alphabetical order. The switches should be documented |
| 25 // alongside the definition of their values in the .cc file. | 25 // alongside the definition of their values in the .cc file. |
| 26 extern const char kActivateOnLaunch[]; | |
| 27 extern const char kAllowCrossOriginAuthPrompt[]; | 26 extern const char kAllowCrossOriginAuthPrompt[]; |
| 28 extern const char kAllowFileAccess[]; | 27 extern const char kAllowFileAccess[]; |
| 29 extern const char kAllowOutdatedPlugins[]; | 28 extern const char kAllowOutdatedPlugins[]; |
| 30 extern const char kAllowHTTPBackgroundPage[]; | 29 extern const char kAllowHTTPBackgroundPage[]; |
| 31 extern const char kAllowScriptingGallery[]; | 30 extern const char kAllowScriptingGallery[]; |
| 32 extern const char kAllowWebSocketProxy[]; | 31 extern const char kAllowWebSocketProxy[]; |
| 33 extern const char kAllowWebUIOobe[]; | 32 extern const char kAllowWebUIOobe[]; |
| 34 extern const char kAlwaysAuthorizePlugins[]; | 33 extern const char kAlwaysAuthorizePlugins[]; |
| 35 extern const char kAlwaysEnableDevTools[]; | 34 extern const char kAlwaysEnableDevTools[]; |
| 36 extern const char kApp[]; | 35 extern const char kApp[]; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 #if defined(OS_POSIX) | 308 #if defined(OS_POSIX) |
| 310 extern const char kEnableCrashReporter[]; | 309 extern const char kEnableCrashReporter[]; |
| 311 extern const char kNoProcessSingletonDialog[]; | 310 extern const char kNoProcessSingletonDialog[]; |
| 312 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 311 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 313 extern const char kPasswordStore[]; | 312 extern const char kPasswordStore[]; |
| 314 #endif | 313 #endif |
| 315 #endif | 314 #endif |
| 316 | 315 |
| 317 #if defined(OS_MACOSX) | 316 #if defined(OS_MACOSX) |
| 318 extern const char kEnableExposeForTabs[]; | 317 extern const char kEnableExposeForTabs[]; |
| 318 extern const char kRelauncherProcess[]; |
| 319 #endif | 319 #endif |
| 320 | 320 |
| 321 #if !defined(OS_MACOSX) | 321 #if !defined(OS_MACOSX) |
| 322 extern const char kKioskMode[]; | 322 extern const char kKioskMode[]; |
| 323 #endif | 323 #endif |
| 324 | 324 |
| 325 #if defined(TOOLKIT_VIEWS) | 325 #if defined(TOOLKIT_VIEWS) |
| 326 extern const char kDebugViewsPaint[]; | 326 extern const char kDebugViewsPaint[]; |
| 327 #endif | 327 #endif |
| 328 | 328 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 350 bool IsPrintPreviewEnabled(); | 350 bool IsPrintPreviewEnabled(); |
| 351 | 351 |
| 352 bool IsInBrowserThumbnailingEnabled(); | 352 bool IsInBrowserThumbnailingEnabled(); |
| 353 | 353 |
| 354 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 354 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 355 // alphabetical order, or in one of the ifdefs (also in order in each section). | 355 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 356 | 356 |
| 357 } // namespace switches | 357 } // namespace switches |
| 358 | 358 |
| 359 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 359 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |