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

Unified Diff: content/browser/renderer_host/input/gesture_event_packet.h

Issue 156783006: Consuming a touch move prevents only the next scroll update. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jdduke's comments. Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/gesture_event_packet.h
diff --git a/content/browser/renderer_host/input/gesture_event_packet.h b/content/browser/renderer_host/input/gesture_event_packet.h
index 1227417ee86302c6fc6daee6ef39fb76adccd45c..94066a1aafb0b84439e45db66cd03fc1928ace9f 100644
--- a/content/browser/renderer_host/input/gesture_event_packet.h
+++ b/content/browser/renderer_host/input/gesture_event_packet.h
@@ -15,10 +15,14 @@ namespace content {
class CONTENT_EXPORT GestureEventPacket {
public:
enum GestureSource {
- INVALID = -1, // Used only for a default-constructed packet..
- TOUCH_BEGIN, // The start of a new gesture sequence.
- TOUCH, // Continuation of an existing gesture sequence.
- TOUCH_TIMEOUT, // Timeout from an existing gesture sequence.
+ INVALID = -1, // Used only for a default-constructed packet.
+ OUT_OF_ORDER, // The source of the gesture was out of order.
+ TOUCH_SEQUENCE_BEGIN, // The start of a new gesture sequence.
+ TOUCH_SEQUENCE_END, // The end of gesture sequence.
tdresser 2014/02/13 18:14:09 This isn't currently used, but will likely be in t
jdduke (slow) 2014/02/13 19:40:00 Hmm, I suppose it doesn't hurt if for no other rea
+ TOUCH_BEGIN, // A touch down occured during a gesture sequence.
+ TOUCH_MOVE, // A touch move occured during a gesture sequence.
+ TOUCH_END, // A touch up occured during a gesture sequence.
+ TOUCH_TIMEOUT, // Timeout from an existing gesture sequence.
};
GestureEventPacket();

Powered by Google App Engine
This is Rietveld 408576698