Chromium Code Reviews| 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[]; | |
|
Nico
2011/06/29 17:22:15
If I remember correctly, this was added by jrg by
Mark Mentovai
2011/06/29 17:52:51
Nico wrote:
| |
| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 310 #if defined(OS_POSIX) | 309 #if defined(OS_POSIX) |
| 311 extern const char kEnableCrashReporter[]; | 310 extern const char kEnableCrashReporter[]; |
| 312 extern const char kNoProcessSingletonDialog[]; | 311 extern const char kNoProcessSingletonDialog[]; |
| 313 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 312 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 314 extern const char kPasswordStore[]; | 313 extern const char kPasswordStore[]; |
| 315 #endif | 314 #endif |
| 316 #endif | 315 #endif |
| 317 | 316 |
| 318 #if defined(OS_MACOSX) | 317 #if defined(OS_MACOSX) |
| 319 extern const char kEnableExposeForTabs[]; | 318 extern const char kEnableExposeForTabs[]; |
| 319 extern const char kRelauncherProcess[]; | |
| 320 #endif | 320 #endif |
| 321 | 321 |
| 322 #if !defined(OS_MACOSX) | 322 #if !defined(OS_MACOSX) |
| 323 extern const char kKioskMode[]; | 323 extern const char kKioskMode[]; |
| 324 #endif | 324 #endif |
| 325 | 325 |
| 326 #if defined(TOOLKIT_VIEWS) | 326 #if defined(TOOLKIT_VIEWS) |
| 327 extern const char kDebugViewsPaint[]; | 327 extern const char kDebugViewsPaint[]; |
| 328 extern const char kViewsDesktop[]; | 328 extern const char kViewsDesktop[]; |
| 329 #endif | 329 #endif |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 352 bool IsPrintPreviewEnabled(); | 352 bool IsPrintPreviewEnabled(); |
| 353 | 353 |
| 354 bool IsInBrowserThumbnailingEnabled(); | 354 bool IsInBrowserThumbnailingEnabled(); |
| 355 | 355 |
| 356 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 356 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 357 // alphabetical order, or in one of the ifdefs (also in order in each section). | 357 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 358 | 358 |
| 359 } // namespace switches | 359 } // namespace switches |
| 360 | 360 |
| 361 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 361 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |