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

Side by Side Diff: ui/events/event_constants.h

Issue 2224653002: mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/gesture_detection/gesture_touch_uma_histogram.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 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_ 5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_
6 #define UI_EVENTS_EVENT_CONSTANTS_H_ 6 #define UI_EVENTS_EVENT_CONSTANTS_H_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 // Event types. (prefixed because of a conflict with windows headers) 10 // Event types. (prefixed because of a conflict with windows headers)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 ET_GESTURE_PINCH_END, 51 ET_GESTURE_PINCH_END,
52 ET_GESTURE_PINCH_UPDATE, 52 ET_GESTURE_PINCH_UPDATE,
53 ET_GESTURE_LONG_PRESS, 53 ET_GESTURE_LONG_PRESS,
54 ET_GESTURE_LONG_TAP, 54 ET_GESTURE_LONG_TAP,
55 // A SWIPE gesture can happen at the end of a touch sequence involving one or 55 // A SWIPE gesture can happen at the end of a touch sequence involving one or
56 // more fingers if the finger velocity was high enough when the first finger 56 // more fingers if the finger velocity was high enough when the first finger
57 // was released. 57 // was released.
58 ET_GESTURE_SWIPE, 58 ET_GESTURE_SWIPE,
59 ET_GESTURE_SHOW_PRESS, 59 ET_GESTURE_SHOW_PRESS,
60 60
61 // Sent by Win8+ metro when the user swipes from the bottom or top.
62 ET_GESTURE_WIN8_EDGE_SWIPE,
63
64 // Scroll support. 61 // Scroll support.
65 // TODO[davemoore] we need to unify these events w/ touch and gestures. 62 // TODO[davemoore] we need to unify these events w/ touch and gestures.
66 ET_SCROLL, 63 ET_SCROLL,
67 ET_SCROLL_FLING_START, 64 ET_SCROLL_FLING_START,
68 ET_SCROLL_FLING_CANCEL, 65 ET_SCROLL_FLING_CANCEL,
69 ET_GESTURE_TYPE_END = ET_SCROLL_FLING_CANCEL, 66 ET_GESTURE_TYPE_END = ET_SCROLL_FLING_CANCEL,
70 67
71 // Sent by the system to indicate any modal type operations, such as drag and 68 // Sent by the system to indicate any modal type operations, such as drag and
72 // drop or menus, should stop. 69 // drop or menus, should stop.
73 ET_CANCEL_MODE, 70 ET_CANCEL_MODE,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Device type for gesture events. 173 // Device type for gesture events.
177 enum class GestureDeviceType : int { 174 enum class GestureDeviceType : int {
178 DEVICE_UNKNOWN = 0, 175 DEVICE_UNKNOWN = 0,
179 DEVICE_TOUCHPAD, 176 DEVICE_TOUCHPAD,
180 DEVICE_TOUCHSCREEN, 177 DEVICE_TOUCHSCREEN,
181 }; 178 };
182 179
183 } // namespace ui 180 } // namespace ui
184 181
185 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 182 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/gesture_detection/gesture_touch_uma_histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698