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

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

Issue 268483004: events: Remove stationary touch-event type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « ui/events/event.cc ('k') | ui/events/gestures/gesture_sequence.cc » ('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)
11 enum EventType { 11 enum EventType {
12 ET_UNKNOWN = 0, 12 ET_UNKNOWN = 0,
13 ET_MOUSE_PRESSED, 13 ET_MOUSE_PRESSED,
14 ET_MOUSE_DRAGGED, 14 ET_MOUSE_DRAGGED,
15 ET_MOUSE_RELEASED, 15 ET_MOUSE_RELEASED,
16 ET_MOUSE_MOVED, 16 ET_MOUSE_MOVED,
17 ET_MOUSE_ENTERED, 17 ET_MOUSE_ENTERED,
18 ET_MOUSE_EXITED, 18 ET_MOUSE_EXITED,
19 ET_KEY_PRESSED, 19 ET_KEY_PRESSED,
20 ET_KEY_RELEASED, 20 ET_KEY_RELEASED,
21 ET_MOUSEWHEEL, 21 ET_MOUSEWHEEL,
22 ET_MOUSE_CAPTURE_CHANGED, // Event has no location. 22 ET_MOUSE_CAPTURE_CHANGED, // Event has no location.
23 ET_TOUCH_RELEASED, 23 ET_TOUCH_RELEASED,
24 ET_TOUCH_PRESSED, 24 ET_TOUCH_PRESSED,
25 ET_TOUCH_MOVED, 25 ET_TOUCH_MOVED,
26 ET_TOUCH_STATIONARY,
27 ET_TOUCH_CANCELLED, 26 ET_TOUCH_CANCELLED,
28 ET_DROP_TARGET_EVENT, 27 ET_DROP_TARGET_EVENT,
29 ET_TRANSLATED_KEY_PRESS, 28 ET_TRANSLATED_KEY_PRESS,
30 ET_TRANSLATED_KEY_RELEASE, 29 ET_TRANSLATED_KEY_RELEASE,
31 30
32 // GestureEvent types 31 // GestureEvent types
33 ET_GESTURE_SCROLL_BEGIN, 32 ET_GESTURE_SCROLL_BEGIN,
34 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, 33 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN,
35 ET_GESTURE_SCROLL_END, 34 ET_GESTURE_SCROLL_END,
36 ET_GESTURE_SCROLL_UPDATE, 35 ET_GESTURE_SCROLL_UPDATE,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 EP_PREDISPATCH, 123 EP_PREDISPATCH,
125 EP_PRETARGET, 124 EP_PRETARGET,
126 EP_TARGET, 125 EP_TARGET,
127 EP_POSTTARGET, 126 EP_POSTTARGET,
128 EP_POSTDISPATCH 127 EP_POSTDISPATCH
129 }; 128 };
130 129
131 } // namespace ui 130 } // namespace ui
132 131
133 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 132 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/gestures/gesture_sequence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698