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 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove new evernt type, add direct route from event -> platform window Created 6 years 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 #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 18 matching lines...) Expand all
29 ET_TRANSLATED_KEY_RELEASE, 29 ET_TRANSLATED_KEY_RELEASE,
30 30
31 // GestureEvent types 31 // GestureEvent types
32 ET_GESTURE_SCROLL_BEGIN, 32 ET_GESTURE_SCROLL_BEGIN,
33 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, 33 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN,
34 ET_GESTURE_SCROLL_END, 34 ET_GESTURE_SCROLL_END,
35 ET_GESTURE_SCROLL_UPDATE, 35 ET_GESTURE_SCROLL_UPDATE,
36 ET_GESTURE_TAP, 36 ET_GESTURE_TAP,
37 ET_GESTURE_TAP_DOWN, 37 ET_GESTURE_TAP_DOWN,
38 ET_GESTURE_TAP_CANCEL, 38 ET_GESTURE_TAP_CANCEL,
39 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired. 39 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired.
40 ET_GESTURE_DOUBLE_TAP, 40 ET_GESTURE_DOUBLE_TAP,
41 ET_GESTURE_BEGIN, // The first event sent when each finger is pressed. 41 ET_GESTURE_BEGIN, // The first event sent when each finger is pressed.
42 ET_GESTURE_END, // Sent for each released finger. 42 ET_GESTURE_END, // Sent for each released finger.
43 ET_GESTURE_TWO_FINGER_TAP, 43 ET_GESTURE_TWO_FINGER_TAP,
44 ET_GESTURE_PINCH_BEGIN, 44 ET_GESTURE_PINCH_BEGIN,
45 ET_GESTURE_PINCH_END, 45 ET_GESTURE_PINCH_END,
46 ET_GESTURE_PINCH_UPDATE, 46 ET_GESTURE_PINCH_UPDATE,
47 ET_GESTURE_LONG_PRESS, 47 ET_GESTURE_LONG_PRESS,
48 ET_GESTURE_LONG_TAP, 48 ET_GESTURE_LONG_TAP,
49 // A SWIPE gesture can happen at the end of a touch sequence involving one or 49 // A SWIPE gesture can happen at the end of a touch sequence involving one or
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 }; 137 };
138 138
139 // Device ID for Touch and Key Events. 139 // Device ID for Touch and Key Events.
140 enum EventDeviceId { 140 enum EventDeviceId {
141 ED_UNKNOWN_DEVICE = -1 141 ED_UNKNOWN_DEVICE = -1
142 }; 142 };
143 143
144 } // namespace ui 144 } // namespace ui
145 145
146 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 146 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698