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

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

Issue 171283002: Always reset touch action at the beginning of a new gesture sequence (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case where touch handler is removed. 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 bebe099d86fb85f697633bfb2027d843d296bcdb..cb2bfe83d4f7d3ac32e34e5117aec18a072ab81c 100644
--- a/content/browser/renderer_host/input/gesture_event_packet.h
+++ b/content/browser/renderer_host/input/gesture_event_packet.h
@@ -17,9 +17,9 @@ class CONTENT_EXPORT GestureEventPacket {
enum GestureSource {
UNDEFINED = -1, // Used only for a default-constructed packet.
INVALID, // The source of the gesture was invalid.
- TOUCH_SEQUENCE_BEGIN, // The start of a new gesture sequence.
+ TOUCH_SEQUENCE_START, // The start of a new gesture sequence.
TOUCH_SEQUENCE_END, // The end of gesture sequence.
- TOUCH_BEGIN, // A touch down occured during a gesture sequence.
+ TOUCH_START, // 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.

Powered by Google App Engine
This is Rietveld 408576698