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

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

Issue 16114003: Don't send touch move to renderer while scrolling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
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 the new visual style for application dialogs and controls. 12 // Disables the new visual style for application dialogs and controls.
13 const char kDisableNewDialogStyle[] = "disable-new-dialog-style"; 13 const char kDisableNewDialogStyle[] = "disable-new-dialog-style";
14 14
15 // Disables sending touch cancel after scroll.
16 const char kDisableTouchCancelAfterScroll[] =
17 "disable-touch-cancel-after-scroll";
18
15 // Disables touch adjustment. 19 // Disables touch adjustment.
16 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; 20 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
17 21
18 // Disables touch event based drag and drop. 22 // Disables touch event based drag and drop.
19 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; 23 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
20 24
21 // Disables controls that support touch base text editing. 25 // Disables controls that support touch base text editing.
22 const char kDisableTouchEditing[] = "disable-touch-editing"; 26 const char kDisableTouchEditing[] = "disable-touch-editing";
23 27
24 // Disables the Views textfield on Windows. 28 // Disables the Views textfield on Windows.
25 const char kDisableViewsTextfield[] = "disable-views-textfield"; 29 const char kDisableViewsTextfield[] = "disable-views-textfield";
26 30
27 // Enables support for bezel touch. 31 // Enables support for bezel touch.
28 const char kEnableBezelTouch[] = "enable-bezel-touch"; 32 const char kEnableBezelTouch[] = "enable-bezel-touch";
29 33
30 // Enables the new visual style for application dialogs and controls. 34 // Enables the new visual style for application dialogs and controls.
31 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; 35 const char kEnableNewDialogStyle[] = "enable-new-dialog-style";
32 36
37 // Enables sending touch cancel after scroll.
38 const char kEnableTouchCancelAfterScroll[] =
39 "enable-touch-cancel-after-scroll";
40
33 // Enables touch event based drag and drop. 41 // Enables touch event based drag and drop.
34 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 42 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
35 43
36 // Enables controls that support touch base text editing. 44 // Enables controls that support touch base text editing.
37 const char kEnableTouchEditing[] = "enable-touch-editing"; 45 const char kEnableTouchEditing[] = "enable-touch-editing";
38 46
39 // Enables the Views textfield on Windows. 47 // Enables the Views textfield on Windows.
40 const char kEnableViewsTextfield[] = "enable-views-textfield"; 48 const char kEnableViewsTextfield[] = "enable-views-textfield";
41 49
42 // Overrides the device scale factor for the browser UI and the contents. 50 // Overrides the device scale factor for the browser UI and the contents.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #endif 108 #endif
101 109
102 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 110 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
103 // Tells chrome to interpret events from these devices as touch events. Only 111 // Tells chrome to interpret events from these devices as touch events. Only
104 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 112 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
105 // devices can be retrieved from 'xinput list'. 113 // devices can be retrieved from 'xinput list'.
106 const char kTouchDevices[] = "touch-devices"; 114 const char kTouchDevices[] = "touch-devices";
107 #endif 115 #endif
108 116
109 } // namespace switches 117 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698