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

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

Issue 1800143002: Notify Blink about start of gesture scroll through a queued event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 8 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 GesturePinchBegin, 67 GesturePinchBegin,
68 GesturePinchEnd, 68 GesturePinchEnd,
69 GesturePinchUpdate, 69 GesturePinchUpdate,
70 GestureFlingStart, 70 GestureFlingStart,
71 71
72 // PlatformTouchEvent 72 // PlatformTouchEvent
73 TouchStart, 73 TouchStart,
74 TouchMove, 74 TouchMove,
75 TouchEnd, 75 TouchEnd,
76 TouchCancel, 76 TouchCancel,
77 TouchScrollStarted,
77 }; 78 };
78 79
79 // These values are direct mappings of the values in WebInputEvent so the va lues can be cast between the 80 // These values are direct mappings of the values in WebInputEvent so the va lues can be cast between the
80 // enumerations. static_asserts checking this are in web/WebInputEventConver sion.cpp. 81 // enumerations. static_asserts checking this are in web/WebInputEventConver sion.cpp.
81 enum Modifiers { 82 enum Modifiers {
82 NoModifiers = 0, 83 NoModifiers = 0,
83 ShiftKey = 1 << 0, 84 ShiftKey = 1 << 0,
84 CtrlKey = 1 << 1, 85 CtrlKey = 1 << 1,
85 AltKey = 1 << 2, 86 AltKey = 1 << 2,
86 MetaKey = 1 << 3, 87 MetaKey = 1 << 3,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 162 }
162 163
163 unsigned m_type; 164 unsigned m_type;
164 unsigned m_modifiers; 165 unsigned m_modifiers;
165 double m_timestamp; 166 double m_timestamp;
166 }; 167 };
167 168
168 } // namespace blink 169 } // namespace blink
169 170
170 #endif // PlatformEvent_h 171 #endif // PlatformEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/PointerEventManager.cpp ('k') | third_party/WebKit/Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698