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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 #if !defined(OS_MACOSX) | 352 #if !defined(OS_MACOSX) |
| 353 extern const char kKioskMode[]; | 353 extern const char kKioskMode[]; |
| 354 #endif | 354 #endif |
| 355 | 355 |
| 356 #if defined(TOOLKIT_VIEWS) | 356 #if defined(TOOLKIT_VIEWS) |
| 357 extern const char kDebugViewsPaint[]; | 357 extern const char kDebugViewsPaint[]; |
| 358 extern const char kTouchDevices[]; | 358 extern const char kTouchDevices[]; |
| 359 extern const char kViewsDesktop[]; | 359 extern const char kViewsDesktop[]; |
| 360 #endif | 360 #endif |
| 361 | 361 |
| 362 #if defined(TOUCH_UI) | |
| 363 extern const char kKeepMouseCursor[]; | |
| 364 extern const char kTouchDevices[]; | |
| 365 #endif | |
|
rjkroege
2011/11/14 20:51:36
These are unnecessary. You need to remerge I think
Gajen
2011/11/15 15:20:09
Done.
| |
| 362 | 366 |
| 363 #ifndef NDEBUG | 367 #ifndef NDEBUG |
| 364 extern const char kOAuthHostUrl[]; | 368 extern const char kOAuthHostUrl[]; |
| 365 extern const char kClearTokenService[]; | 369 extern const char kClearTokenService[]; |
| 366 extern const char kSetToken[]; | 370 extern const char kSetToken[]; |
| 367 extern const char kWebSocketLiveExperimentHost[]; | 371 extern const char kWebSocketLiveExperimentHost[]; |
| 368 extern const char kExposePrivateExtensionApi[]; | 372 extern const char kExposePrivateExtensionApi[]; |
| 369 extern const char kFileManagerExtensionPath[]; | 373 extern const char kFileManagerExtensionPath[]; |
| 370 #endif | 374 #endif |
| 371 | 375 |
| 372 extern const char kDisablePrintPreview[]; | 376 extern const char kDisablePrintPreview[]; |
| 373 extern const char kEnablePrintPreview[]; | 377 extern const char kEnablePrintPreview[]; |
| 374 extern const char kEnableBenchmarking[]; | 378 extern const char kEnableBenchmarking[]; |
| 375 | 379 |
| 376 bool IsPrintPreviewEnabled(); | 380 bool IsPrintPreviewEnabled(); |
| 377 | 381 |
| 378 bool IsInBrowserThumbnailingEnabled(); | 382 bool IsInBrowserThumbnailingEnabled(); |
| 379 | 383 |
| 380 // 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 |
| 381 // 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). |
| 382 | 386 |
| 383 } // namespace switches | 387 } // namespace switches |
| 384 | 388 |
| 385 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 389 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |