Index: ui/base/gestures/gesture_point.h |
diff --git a/ui/base/gestures/gesture_point.h b/ui/base/gestures/gesture_point.h |
index f52fece40ac0dbdc5d68dfc72d79836c4a1ef228..8dbee7a2b58eb73925fe0713d03c6480ff5ed652 100644 |
--- a/ui/base/gestures/gesture_point.h |
+++ b/ui/base/gestures/gesture_point.h |
@@ -39,6 +39,7 @@ class GesturePoint { |
// represent a click or scroll etc.) |
bool IsInClickWindow(const TouchEvent& event) const; |
bool IsInDoubleClickWindow(const TouchEvent& event) const; |
+ bool IsInTripleClickWindow(const TouchEvent& event) const; |
bool IsInScrollWindow(const TouchEvent& event) const; |
bool IsInFlickWindow(const TouchEvent& event); |
bool IsInHorizontalRailWindow() const; |
@@ -86,7 +87,9 @@ class GesturePoint { |
// Various statistical functions to manipulate gestures. |
bool IsInClickTimeWindow() const; |
bool IsInSecondClickTimeWindow() const; |
+ bool IsInThirdClickTimeWindow() const; |
bool IsSecondClickInsideManhattanSquare(const TouchEvent& event) const; |
+ bool IsThirdClickInsideManhattanSquare(const TouchEvent& event) const; |
bool IsOverMinFlickSpeed(); |
// Returns -1, 0, 1 for |v| below the negative velocity threshold, |
@@ -112,6 +115,9 @@ class GesturePoint { |
gfx::Point last_touch_position_; |
double last_touch_time_; |
+ double second_last_tap_time_; |
+ gfx::Point second_last_tap_position_; |
+ |
double last_tap_time_; |
gfx::Point last_tap_position_; |