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 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 351 #if !defined(OS_MACOSX) | 351 #if !defined(OS_MACOSX) |
| 352 extern const char kKioskMode[]; | 352 extern const char kKioskMode[]; |
| 353 #endif | 353 #endif |
| 354 | 354 |
| 355 #if defined(TOOLKIT_VIEWS) | 355 #if defined(TOOLKIT_VIEWS) |
| 356 extern const char kDebugViewsPaint[]; | 356 extern const char kDebugViewsPaint[]; |
| 357 extern const char kTouchDevices[]; | 357 extern const char kTouchDevices[]; |
| 358 extern const char kViewsDesktop[]; | 358 extern const char kViewsDesktop[]; |
| 359 #endif | 359 #endif |
| 360 | 360 |
| 361 #if defined(TOUCH_UI) | |
| 362 extern const char kKeepMouseCursor[]; | |
|
rjkroege
2011/11/09 02:43:30
touchui always implies tookit views so replicating
Gajen
2011/11/09 18:14:43
Plan to remove this dependence by implementing Vie
Gajen
2011/11/10 15:52:55
Done.
| |
| 363 extern const char kTouchDevices[]; | |
| 364 extern const char kEnableGesture[]; | |
| 365 #endif | |
| 361 | 366 |
| 362 #ifndef NDEBUG | 367 #ifndef NDEBUG |
| 363 extern const char kOAuthHostUrl[]; | 368 extern const char kOAuthHostUrl[]; |
| 364 extern const char kClearTokenService[]; | 369 extern const char kClearTokenService[]; |
| 365 extern const char kSetToken[]; | 370 extern const char kSetToken[]; |
| 366 extern const char kWebSocketLiveExperimentHost[]; | 371 extern const char kWebSocketLiveExperimentHost[]; |
| 367 extern const char kExposePrivateExtensionApi[]; | 372 extern const char kExposePrivateExtensionApi[]; |
| 368 extern const char kFileManagerExtensionPath[]; | 373 extern const char kFileManagerExtensionPath[]; |
| 369 #endif | 374 #endif |
| 370 | 375 |
| 371 extern const char kDisablePrintPreview[]; | 376 extern const char kDisablePrintPreview[]; |
| 372 extern const char kEnablePrintPreview[]; | 377 extern const char kEnablePrintPreview[]; |
| 373 extern const char kEnableBenchmarking[]; | 378 extern const char kEnableBenchmarking[]; |
| 374 | 379 |
| 375 bool IsPrintPreviewEnabled(); | 380 bool IsPrintPreviewEnabled(); |
| 376 | 381 |
| 377 bool IsInBrowserThumbnailingEnabled(); | 382 bool IsInBrowserThumbnailingEnabled(); |
| 378 | 383 |
| 379 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 384 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 380 // alphabetical order, or in one of the ifdefs (also in order in each section). | 385 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 381 | 386 |
| 382 } // namespace switches | 387 } // namespace switches |
| 383 | 388 |
| 384 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 389 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |