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

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

Issue 10928066: Add GestureTapCancel gesture type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky cr feedback Created 8 years, 3 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/aura/window_unittest.cc ('k') | ui/base/gestures/gesture_sequence.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_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ 5 #ifndef UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_
6 #define UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ 6 #define UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_
7 7
8 #include "base/event_types.h" 8 #include "base/event_types.h"
9 #include "ui/base/keycodes/keyboard_codes.h" 9 #include "ui/base/keycodes/keyboard_codes.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ET_FOCUS_CHANGE, 45 ET_FOCUS_CHANGE,
46 ET_TRANSLATED_KEY_PRESS, 46 ET_TRANSLATED_KEY_PRESS,
47 ET_TRANSLATED_KEY_RELEASE, 47 ET_TRANSLATED_KEY_RELEASE,
48 48
49 // GestureEvent types 49 // GestureEvent types
50 ET_GESTURE_SCROLL_BEGIN, 50 ET_GESTURE_SCROLL_BEGIN,
51 ET_GESTURE_SCROLL_END, 51 ET_GESTURE_SCROLL_END,
52 ET_GESTURE_SCROLL_UPDATE, 52 ET_GESTURE_SCROLL_UPDATE,
53 ET_GESTURE_TAP, 53 ET_GESTURE_TAP,
54 ET_GESTURE_TAP_DOWN, 54 ET_GESTURE_TAP_DOWN,
55 ET_GESTURE_TAP_CANCEL,
55 ET_GESTURE_BEGIN, // Sent before any other gesture types. 56 ET_GESTURE_BEGIN, // Sent before any other gesture types.
56 ET_GESTURE_END, // Sent after any other gestures. 57 ET_GESTURE_END, // Sent after any other gestures.
57 ET_GESTURE_DOUBLE_TAP, 58 ET_GESTURE_DOUBLE_TAP,
58 ET_GESTURE_TWO_FINGER_TAP, 59 ET_GESTURE_TWO_FINGER_TAP,
59 ET_GESTURE_PINCH_BEGIN, 60 ET_GESTURE_PINCH_BEGIN,
60 ET_GESTURE_PINCH_END, 61 ET_GESTURE_PINCH_END,
61 ET_GESTURE_PINCH_UPDATE, 62 ET_GESTURE_PINCH_UPDATE,
62 ET_GESTURE_LONG_PRESS, 63 ET_GESTURE_LONG_PRESS,
63 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the 64 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the
64 // finger(s) were moving quickly before they are released. 65 // finger(s) were moving quickly before they are released.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 UI_EXPORT int GetModifiersFromKeyState(); 223 UI_EXPORT int GetModifiersFromKeyState();
223 224
224 // Returns true if |message| identifies a mouse event that was generated as the 225 // Returns true if |message| identifies a mouse event that was generated as the
225 // result of a touch event. 226 // result of a touch event.
226 UI_EXPORT bool IsMouseEventFromTouch(UINT message); 227 UI_EXPORT bool IsMouseEventFromTouch(UINT message);
227 #endif 228 #endif
228 229
229 } // namespace ui 230 } // namespace ui
230 231
231 #endif // UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ 232 #endif // UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/base/gestures/gesture_sequence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698