summaryrefslogtreecommitdiffstats
path: root/ui/base/gestures/gesture_sequence.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 20:55:06 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 20:55:06 +0000
commit4c3ca1c9699de1922542d6f98675708bc5bacd4e (patch)
tree323511541e43d7d0f86ddf36204ddfb68e362af2 /ui/base/gestures/gesture_sequence.h
parent360dc9111fc2446e868d99f32aac0c713cfe4687 (diff)
downloadchromium_src-4c3ca1c9699de1922542d6f98675708bc5bacd4e.zip
chromium_src-4c3ca1c9699de1922542d6f98675708bc5bacd4e.tar.gz
chromium_src-4c3ca1c9699de1922542d6f98675708bc5bacd4e.tar.bz2
gesture recognizer: Some cleanup and workaround for a crash.
It's yet unclear how the GR receives two press-events for the same touch-point without a release/cancel-event before the second press, but when that does happen in a release build, try to handle it gracefully instead of crashing. BUG=134486 Review URL: https://chromiumcodereview.appspot.com/10834283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/gestures/gesture_sequence.h')
-rw-r--r--ui/base/gestures/gesture_sequence.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/base/gestures/gesture_sequence.h b/ui/base/gestures/gesture_sequence.h
index ebde7bc..3933ef7 100644
--- a/ui/base/gestures/gesture_sequence.h
+++ b/ui/base/gestures/gesture_sequence.h
@@ -59,8 +59,6 @@ class UI_EXPORT GestureSequence {
}
private:
- void Reset();
-
// Recreates the axis-aligned bounding box that contains all the touch-points
// at their most recent position.
void RecreateBoundingBox();
@@ -144,9 +142,6 @@ class UI_EXPORT GestureSequence {
bool ScrollUpdate(const TouchEvent& event,
const GesturePoint& point,
Gestures* gestures);
- bool NoGesture(const TouchEvent& event,
- const GesturePoint& point,
- Gestures* gestures);
bool TouchDown(const TouchEvent& event,
const GesturePoint& point,
Gestures* gestures);