| 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 touch adjustment. | 12 // Disables touch adjustment. |
| 13 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 13 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
| 14 | 14 |
| 15 // Disables touch event based drag and drop. |
| 16 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
| 17 |
| 18 // Disables controls that support touch base text editing. |
| 19 const char kDisableTouchEditing[] = "disable-touch-editing"; |
| 20 |
| 15 // Disables the Views textfield on Windows. | 21 // Disables the Views textfield on Windows. |
| 16 const char kDisableViewsTextfield[] = "disable-views-textfield"; | 22 const char kDisableViewsTextfield[] = "disable-views-textfield"; |
| 17 | 23 |
| 18 // Enables support for bezel touch. | 24 // Enables support for bezel touch. |
| 19 const char kEnableBezelTouch[] = "enable-bezel-touch"; | 25 const char kEnableBezelTouch[] = "enable-bezel-touch"; |
| 20 | 26 |
| 21 // Enables the new dialog style wherever it is available. | 27 // Enables the new dialog style wherever it is available. |
| 22 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; | 28 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; |
| 23 | 29 |
| 30 // Enables touch event based drag and drop. |
| 24 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 31 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
| 25 | 32 |
| 26 // Enables controls that support touch base text editing. | 33 // Enables controls that support touch base text editing. |
| 27 const char kEnableTouchEditing[] = "enable-touch-editing"; | 34 const char kEnableTouchEditing[] = "enable-touch-editing"; |
| 28 | 35 |
| 29 // Enables the Views textfield on Windows. | 36 // Enables the Views textfield on Windows. |
| 30 const char kEnableViewsTextfield[] = "enable-views-textfield"; | 37 const char kEnableViewsTextfield[] = "enable-views-textfield"; |
| 31 | 38 |
| 32 // Overrides the device scale factor for the browser UI and the contents. | 39 // Overrides the device scale factor for the browser UI and the contents. |
| 33 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | 40 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 #endif | 97 #endif |
| 91 | 98 |
| 92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 99 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
| 93 // Tells chrome to interpret events from these devices as touch events. Only | 100 // Tells chrome to interpret events from these devices as touch events. Only |
| 94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 101 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
| 95 // devices can be retrieved from 'xinput list'. | 102 // devices can be retrieved from 'xinput list'. |
| 96 const char kTouchDevices[] = "touch-devices"; | 103 const char kTouchDevices[] = "touch-devices"; |
| 97 #endif | 104 #endif |
| 98 | 105 |
| 99 } // namespace switches | 106 } // namespace switches |
| OLD | NEW |