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

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: Undo accidental whitespace change. 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/gesture_event_packet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b277948086816999140f5a1d2b672a134e90538b 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.
+ 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_END, // The end of gesture sequence.
+ 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();
« no previous file with comments | « no previous file | content/browser/renderer_host/input/gesture_event_packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698