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

Unified Diff: ui/aura/gestures/gesture_point.cc

Issue 9566020: Revert 124071 - Gestures are now possible using touch events with any ids (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « ui/aura/gestures/gesture_point.h ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/gestures/gesture_point.cc
===================================================================
--- ui/aura/gestures/gesture_point.cc (revision 124450)
+++ ui/aura/gestures/gesture_point.cc (working copy)
@@ -27,8 +27,7 @@
: first_touch_time_(0.0),
last_touch_time_(0.0),
last_tap_time_(0.0),
- velocity_calculator_(kBufferedPoints),
- point_id_(-1) {
+ velocity_calculator_(kBufferedPoints) {
}
GesturePoint::~GesturePoint() {}
@@ -36,7 +35,6 @@
void GesturePoint::Reset() {
first_touch_time_ = last_touch_time_ = 0.0;
velocity_calculator_.ClearHistory();
- point_id_ = -1;
}
void GesturePoint::UpdateValues(const TouchEvent& event) {
« no previous file with comments | « ui/aura/gestures/gesture_point.h ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698