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