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 #include "ui/base/ui_base_switches.h" | 5 #include "ui/base/ui_base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Disables use of DWM composition for top level windows. | 9 // Disables use of DWM composition for top level windows. |
10 const char kDisableDwmComposition[] = "disable-dwm-composition"; | 10 const char kDisableDwmComposition[] = "disable-dwm-composition"; |
11 | 11 |
12 // Disables the new visual style for application dialogs and controls. | |
13 const char kDisableNewDialogStyle[] = "disable-new-dialog-style"; | |
14 | |
15 // Disables touch adjustment. | 12 // Disables touch adjustment. |
16 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 13 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
17 | 14 |
18 // Disables touch event based drag and drop. | 15 // Disables touch event based drag and drop. |
19 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | 16 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
20 | 17 |
21 // Disables controls that support touch base text editing. | 18 // Disables controls that support touch base text editing. |
22 const char kDisableTouchEditing[] = "disable-touch-editing"; | 19 const char kDisableTouchEditing[] = "disable-touch-editing"; |
23 | 20 |
24 // Disables the Views textfield on Windows. | 21 // Disables the Views textfield on Windows. |
25 const char kDisableViewsTextfield[] = "disable-views-textfield"; | 22 const char kDisableViewsTextfield[] = "disable-views-textfield"; |
26 | 23 |
27 // Enables the new visual style for application dialogs and controls. | |
28 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; | |
29 | |
30 // Enable scroll prediction for scroll update events. | 24 // Enable scroll prediction for scroll update events. |
31 const char kEnableScrollPrediction[] = "enable-scroll-prediction"; | 25 const char kEnableScrollPrediction[] = "enable-scroll-prediction"; |
32 | 26 |
33 // Enables touch event based drag and drop. | 27 // Enables touch event based drag and drop. |
34 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 28 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
35 | 29 |
36 // Enables controls that support touch base text editing. | 30 // Enables controls that support touch base text editing. |
37 const char kEnableTouchEditing[] = "enable-touch-editing"; | 31 const char kEnableTouchEditing[] = "enable-touch-editing"; |
38 | 32 |
39 // Enables the Views textfield on Windows. | 33 // Enables the Views textfield on Windows. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 #endif | 93 #endif |
100 | 94 |
101 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 95 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
102 // Tells chrome to interpret events from these devices as touch events. Only | 96 // Tells chrome to interpret events from these devices as touch events. Only |
103 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 97 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
104 // devices can be retrieved from 'xinput list'. | 98 // devices can be retrieved from 'xinput list'. |
105 const char kTouchDevices[] = "touch-devices"; | 99 const char kTouchDevices[] = "touch-devices"; |
106 #endif | 100 #endif |
107 | 101 |
108 } // namespace switches | 102 } // namespace switches |
OLD | NEW |