Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: trunk/src/ui/base/ui_base_switches.cc

Issue 14439009: Revert 196446 "Make touch drag drop and touch editing flags tri-..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/ui/base/ui_base_switches.h ('k') | trunk/src/ui/base/ui_base_switches_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
21 // Disables the Views textfield on Windows. 15 // Disables the Views textfield on Windows.
22 const char kDisableViewsTextfield[] = "disable-views-textfield"; 16 const char kDisableViewsTextfield[] = "disable-views-textfield";
23 17
24 // Enables support for bezel touch. 18 // Enables support for bezel touch.
25 const char kEnableBezelTouch[] = "enable-bezel-touch"; 19 const char kEnableBezelTouch[] = "enable-bezel-touch";
26 20
27 // Enables the new dialog style wherever it is available. 21 // Enables the new dialog style wherever it is available.
28 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; 22 const char kEnableNewDialogStyle[] = "enable-new-dialog-style";
29 23
30 // Enables touch event based drag and drop.
31 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 24 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
32 25
33 // Enables controls that support touch base text editing. 26 // Enables controls that support touch base text editing.
34 const char kEnableTouchEditing[] = "enable-touch-editing"; 27 const char kEnableTouchEditing[] = "enable-touch-editing";
35 28
36 // Enables the Views textfield on Windows. 29 // Enables the Views textfield on Windows.
37 const char kEnableViewsTextfield[] = "enable-views-textfield"; 30 const char kEnableViewsTextfield[] = "enable-views-textfield";
38 31
39 // Overrides the device scale factor for the browser UI and the contents. 32 // Overrides the device scale factor for the browser UI and the contents.
40 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 33 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #endif 90 #endif
98 91
99 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
100 // Tells chrome to interpret events from these devices as touch events. Only 93 // Tells chrome to interpret events from these devices as touch events. Only
101 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
102 // devices can be retrieved from 'xinput list'. 95 // devices can be retrieved from 'xinput list'.
103 const char kTouchDevices[] = "touch-devices"; 96 const char kTouchDevices[] = "touch-devices";
104 #endif 97 #endif
105 98
106 } // namespace switches 99 } // namespace switches
OLDNEW
« no previous file with comments | « trunk/src/ui/base/ui_base_switches.h ('k') | trunk/src/ui/base/ui_base_switches_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698