Index: content/common/input/web_touch_event_traits.h |
diff --git a/content/common/input/web_touch_event_traits.h b/content/common/input/web_touch_event_traits.h |
index 74e9d6eb7de3b6864f85db2d82f0acc840b406bc..a29c0709af641c21e5885b44e2b7145c772b243f 100644 |
--- a/content/common/input/web_touch_event_traits.h |
+++ b/content/common/input/web_touch_event_traits.h |
@@ -22,6 +22,10 @@ class CONTENT_EXPORT WebTouchEventTraits { |
// touches to some active touches (the start of a new "touch sequence"). |
static bool IsTouchSequenceStart(const blink::WebTouchEvent& event); |
+ // Returns whether this event represents a transition from active |
+ // touches to no active touches (the end of a "touch sequence"). |
+ static bool IsTouchSequenceEnd(const blink::WebTouchEvent& event); |
+ |
// Sets the type of |event| to |type|, resetting any other type-specific |
// properties and updating the timestamp. |
static void ResetType(blink::WebInputEvent::Type type, |