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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 #if !defined(OS_MACOSX) | 325 #if !defined(OS_MACOSX) |
326 extern const char kKioskMode[]; | 326 extern const char kKioskMode[]; |
327 #endif | 327 #endif |
328 | 328 |
329 #if defined(TOOLKIT_VIEWS) | 329 #if defined(TOOLKIT_VIEWS) |
330 extern const char kDebugViewsPaint[]; | 330 extern const char kDebugViewsPaint[]; |
331 #endif | 331 #endif |
332 | 332 |
333 #if defined(TOUCH_UI) | 333 #if defined(TOUCH_UI) |
334 extern const char kKeepMouseCursor[]; | 334 extern const char kKeepMouseCursor[]; |
| 335 extern const char kTouchDevices[]; |
335 #endif | 336 #endif |
336 | 337 |
337 #ifndef NDEBUG | 338 #ifndef NDEBUG |
338 extern const char kClearTokenService[]; | 339 extern const char kClearTokenService[]; |
339 extern const char kSetToken[]; | 340 extern const char kSetToken[]; |
340 extern const char kWebSocketLiveExperimentHost[]; | 341 extern const char kWebSocketLiveExperimentHost[]; |
341 extern const char kExposePrivateExtensionApi[]; | 342 extern const char kExposePrivateExtensionApi[]; |
342 #endif | 343 #endif |
343 | 344 |
344 #if defined(HAVE_XINPUT2) | |
345 extern const char kTouchDevices[]; | |
346 #endif | |
347 | |
348 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) | 345 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) |
349 extern const char kDisablePrintPreview[]; | 346 extern const char kDisablePrintPreview[]; |
350 #else | 347 #else |
351 extern const char kEnablePrintPreview[]; | 348 extern const char kEnablePrintPreview[]; |
352 #endif | 349 #endif |
353 | 350 |
354 bool IsPrintPreviewEnabled(); | 351 bool IsPrintPreviewEnabled(); |
355 | 352 |
356 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 353 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
357 // alphabetical order, or in one of the ifdefs (also in order in each section). | 354 // alphabetical order, or in one of the ifdefs (also in order in each section). |
358 | 355 |
359 } // namespace switches | 356 } // namespace switches |
360 | 357 |
361 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 358 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |