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