| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ui/base. | 5 // Defines all the command-line switches used by ui/base. |
| 6 | 6 |
| 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ | 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ |
| 8 #define UI_BASE_UI_BASE_SWITCHES_H_ | 8 #define UI_BASE_UI_BASE_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/base/ui_export.h" | 11 #include "ui/base/ui_export.h" |
| 12 | 12 |
| 13 namespace switches { | 13 namespace switches { |
| 14 | 14 |
| 15 UI_EXPORT extern const char kDisableDwmComposition[]; | 15 UI_EXPORT extern const char kDisableDwmComposition[]; |
| 16 UI_EXPORT extern const char kDisableTouchAdjustment[]; | 16 UI_EXPORT extern const char kDisableTouchAdjustment[]; |
| 17 UI_EXPORT extern const char kDisableTouchDragDrop[]; | 17 UI_EXPORT extern const char kDisableTouchDragDrop[]; |
| 18 UI_EXPORT extern const char kDisableTouchEditing[]; | 18 UI_EXPORT extern const char kDisableTouchEditing[]; |
| 19 UI_EXPORT extern const char kDisableViewsTextfield[]; | 19 UI_EXPORT extern const char kDisableViewsTextfield[]; |
| 20 UI_EXPORT extern const char kEnableScrollPrediction[]; | 20 UI_EXPORT extern const char kEnableScrollPrediction[]; |
| 21 UI_EXPORT extern const char kEnableTouchDragDrop[]; | 21 UI_EXPORT extern const char kEnableTouchDragDrop[]; |
| 22 UI_EXPORT extern const char kEnableTouchEditing[]; | 22 UI_EXPORT extern const char kEnableTouchEditing[]; |
| 23 UI_EXPORT extern const char kEnableViewsTextfield[]; | 23 UI_EXPORT extern const char kEnableViewsTextfield[]; |
| 24 UI_EXPORT extern const char kForceDeviceScaleFactor[]; | |
| 25 UI_EXPORT extern const char kHighlightMissingScaledResources[]; | 24 UI_EXPORT extern const char kHighlightMissingScaledResources[]; |
| 26 UI_EXPORT extern const char kLang[]; | 25 UI_EXPORT extern const char kLang[]; |
| 27 UI_EXPORT extern const char kLocalePak[]; | 26 UI_EXPORT extern const char kLocalePak[]; |
| 28 UI_EXPORT extern const char kNoMessageBox[]; | 27 UI_EXPORT extern const char kNoMessageBox[]; |
| 29 UI_EXPORT extern const char kTouchEvents[]; | 28 UI_EXPORT extern const char kTouchEvents[]; |
| 30 UI_EXPORT extern const char kTouchEventsAuto[]; | 29 UI_EXPORT extern const char kTouchEventsAuto[]; |
| 31 UI_EXPORT extern const char kTouchEventsDisabled[]; | 30 UI_EXPORT extern const char kTouchEventsDisabled[]; |
| 32 UI_EXPORT extern const char kTouchEventsEnabled[]; | 31 UI_EXPORT extern const char kTouchEventsEnabled[]; |
| 33 UI_EXPORT extern const char kTouchOptimizedUI[]; | 32 UI_EXPORT extern const char kTouchOptimizedUI[]; |
| 34 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; | 33 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; |
| 35 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; | 34 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; |
| 36 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; | 35 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; |
| 37 UI_EXPORT extern const char kTouchSideBezels[]; | 36 UI_EXPORT extern const char kTouchSideBezels[]; |
| 38 | 37 |
| 39 #if defined(USE_XI2_MT) | 38 #if defined(USE_XI2_MT) |
| 40 UI_EXPORT extern const char kTouchCalibration[]; | 39 UI_EXPORT extern const char kTouchCalibration[]; |
| 41 #endif | 40 #endif |
| 42 | 41 |
| 43 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 42 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
| 44 UI_EXPORT extern const char kTouchDevices[]; | 43 UI_EXPORT extern const char kTouchDevices[]; |
| 45 #endif | 44 #endif |
| 46 | 45 |
| 47 } // namespace switches | 46 } // namespace switches |
| 48 | 47 |
| 49 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 48 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
| OLD | NEW |