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

Side by Side Diff: third_party/WebKit/Source/platform/PlatformEvent.h

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 27 matching lines...) Expand all
38 38
39 // PlatformMouseEvent 39 // PlatformMouseEvent
40 MouseMoved, 40 MouseMoved,
41 MousePressed, 41 MousePressed,
42 MouseReleased, 42 MouseReleased,
43 MouseScroll, 43 MouseScroll,
44 44
45 // PlatformWheelEvent 45 // PlatformWheelEvent
46 Wheel, 46 Wheel,
47 47
48 // PlatformGestureEvent
49 GestureScrollBegin,
50 GestureScrollEnd,
51 GestureScrollUpdate,
52 GestureTap,
53 GestureTapUnconfirmed,
54 GestureTapDown,
55 GestureShowPress,
56 GestureTapDownCancel,
57 GestureTwoFingerTap,
58 GestureLongPress,
59 GestureLongTap,
60 GesturePinchBegin,
61 GesturePinchEnd,
62 GesturePinchUpdate,
63 GestureFlingStart,
64
65 // PlatformTouchEvent 48 // PlatformTouchEvent
66 TouchStart, 49 TouchStart,
67 TouchMove, 50 TouchMove,
68 TouchEnd, 51 TouchEnd,
69 TouchCancel, 52 TouchCancel,
70 TouchScrollStarted, 53 TouchScrollStarted,
71 }; 54 };
72 55
73 // These values are direct mappings of the values in WebInputEvent so the 56 // These values are direct mappings of the values in WebInputEvent so the
74 // values can be cast between the enumerations. static_asserts checking this 57 // values can be cast between the enumerations. static_asserts checking this
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 ~PlatformEvent() {} 137 ~PlatformEvent() {}
155 138
156 unsigned m_type; 139 unsigned m_type;
157 unsigned m_modifiers; 140 unsigned m_modifiers;
158 double m_timestamp; 141 double m_timestamp;
159 }; 142 };
160 143
161 } // namespace blink 144 } // namespace blink
162 145
163 #endif // PlatformEvent_h 146 #endif // PlatformEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698