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 kDisableNewDialogStyle[]; | 16 UI_EXPORT extern const char kDisableNewDialogStyle[]; |
17 UI_EXPORT extern const char kDisableTouchAdjustment[]; | 17 UI_EXPORT extern const char kDisableTouchAdjustment[]; |
18 UI_EXPORT extern const char kDisableTouchDragDrop[]; | 18 UI_EXPORT extern const char kDisableTouchDragDrop[]; |
19 UI_EXPORT extern const char kDisableTouchEditing[]; | 19 UI_EXPORT extern const char kDisableTouchEditing[]; |
20 UI_EXPORT extern const char kDisableViewsTextfield[]; | 20 UI_EXPORT extern const char kDisableViewsTextfield[]; |
21 UI_EXPORT extern const char kEnableBezelTouch[]; | 21 UI_EXPORT extern const char kEnableBezelTouch[]; |
22 UI_EXPORT extern const char kEnableNewDialogStyle[]; | 22 UI_EXPORT extern const char kEnableNewDialogStyle[]; |
23 UI_EXPORT extern const char kEnableTouchDragDrop[]; | 23 UI_EXPORT extern const char kEnableTouchDragDrop[]; |
24 UI_EXPORT extern const char kEnableTouchEditing[]; | 24 UI_EXPORT extern const char kEnableTouchEditing[]; |
25 UI_EXPORT extern const char kEnableViewsTextfield[]; | 25 UI_EXPORT extern const char kEnableViewsTextfield[]; |
26 UI_EXPORT extern const char kForceDeviceScaleFactor[]; | 26 UI_EXPORT extern const char kForceDeviceScaleFactor[]; |
| 27 UI_EXPORT extern const char kHighDPISupport[]; |
27 UI_EXPORT extern const char kHighlightMissingScaledResources[]; | 28 UI_EXPORT extern const char kHighlightMissingScaledResources[]; |
28 UI_EXPORT extern const char kLang[]; | 29 UI_EXPORT extern const char kLang[]; |
29 UI_EXPORT extern const char kLocalePak[]; | 30 UI_EXPORT extern const char kLocalePak[]; |
30 UI_EXPORT extern const char kNoMessageBox[]; | 31 UI_EXPORT extern const char kNoMessageBox[]; |
31 UI_EXPORT extern const char kTouchEvents[]; | 32 UI_EXPORT extern const char kTouchEvents[]; |
32 UI_EXPORT extern const char kTouchEventsAuto[]; | 33 UI_EXPORT extern const char kTouchEventsAuto[]; |
33 UI_EXPORT extern const char kTouchEventsDisabled[]; | 34 UI_EXPORT extern const char kTouchEventsDisabled[]; |
34 UI_EXPORT extern const char kTouchEventsEnabled[]; | 35 UI_EXPORT extern const char kTouchEventsEnabled[]; |
35 UI_EXPORT extern const char kTouchOptimizedUI[]; | 36 UI_EXPORT extern const char kTouchOptimizedUI[]; |
36 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; | 37 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; |
(...skipping 11 matching lines...) Expand all Loading... |
48 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; | 49 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; |
49 #endif | 50 #endif |
50 | 51 |
51 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 52 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
52 UI_EXPORT extern const char kTouchDevices[]; | 53 UI_EXPORT extern const char kTouchDevices[]; |
53 #endif | 54 #endif |
54 | 55 |
55 } // namespace switches | 56 } // namespace switches |
56 | 57 |
57 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 58 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
OLD | NEW |