| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 #endif | 344 #endif |
| 345 | 345 |
| 346 #if defined(TOOLKIT_VIEWS) | 346 #if defined(TOOLKIT_VIEWS) |
| 347 extern const char kDebugViewsPaint[]; | 347 extern const char kDebugViewsPaint[]; |
| 348 extern const char kViewsDesktop[]; | 348 extern const char kViewsDesktop[]; |
| 349 #endif | 349 #endif |
| 350 | 350 |
| 351 #if defined(TOUCH_UI) | 351 #if defined(TOUCH_UI) |
| 352 extern const char kKeepMouseCursor[]; | 352 extern const char kKeepMouseCursor[]; |
| 353 extern const char kTouchDevices[]; | 353 extern const char kTouchDevices[]; |
| 354 extern const char kEnableGesture[]; |
| 354 #endif | 355 #endif |
| 355 | 356 |
| 356 #ifndef NDEBUG | 357 #ifndef NDEBUG |
| 357 extern const char kOAuthHostUrl[]; | 358 extern const char kOAuthHostUrl[]; |
| 358 extern const char kClearTokenService[]; | 359 extern const char kClearTokenService[]; |
| 359 extern const char kSetToken[]; | 360 extern const char kSetToken[]; |
| 360 extern const char kWebSocketLiveExperimentHost[]; | 361 extern const char kWebSocketLiveExperimentHost[]; |
| 361 extern const char kExposePrivateExtensionApi[]; | 362 extern const char kExposePrivateExtensionApi[]; |
| 362 extern const char kFileManagerExtensionPath[]; | 363 extern const char kFileManagerExtensionPath[]; |
| 363 #endif | 364 #endif |
| 364 | 365 |
| 365 extern const char kDisablePrintPreview[]; | 366 extern const char kDisablePrintPreview[]; |
| 366 extern const char kEnablePrintPreview[]; | 367 extern const char kEnablePrintPreview[]; |
| 367 extern const char kEnableBenchmarking[]; | 368 extern const char kEnableBenchmarking[]; |
| 368 | 369 |
| 369 bool IsPrintPreviewEnabled(); | 370 bool IsPrintPreviewEnabled(); |
| 370 | 371 |
| 371 bool IsInBrowserThumbnailingEnabled(); | 372 bool IsInBrowserThumbnailingEnabled(); |
| 372 | 373 |
| 373 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 374 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 374 // alphabetical order, or in one of the ifdefs (also in order in each section). | 375 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 375 | 376 |
| 376 } // namespace switches | 377 } // namespace switches |
| 377 | 378 |
| 378 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 379 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |