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

Issue 10837107: gesture recognizer: Make sure the pinch/scroll only when the finger is moved for real. (Closed)

Created:
8 years, 4 months ago by sadrul
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

gesture recognizer: Make sure the pinch/scroll only when the finger is moved for real. Change in the radius for any of the touch-points changes the bounding box of the points, but in such cases, we do not want to trigger either scroll or pinch updates. BUG=none TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150400

Patch Set 1 #

Total comments: 2

Patch Set 2 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -2 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 1 chunk +50 lines, -0 lines 0 comments Download
M ui/base/gestures/gesture_sequence.cc View 1 2 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sadrul
8 years, 4 months ago (2012-08-07 13:12:39 UTC) #1
rjkroege
Should there be an another unit test? otherwise: lgtm http://codereview.chromium.org/10837107/diff/1/ui/base/gestures/gesture_sequence.cc File ui/base/gestures/gesture_sequence.cc (right): http://codereview.chromium.org/10837107/diff/1/ui/base/gestures/gesture_sequence.cc#newcode916 ui/base/gestures/gesture_sequence.cc:916: ...
8 years, 4 months ago (2012-08-07 15:02:51 UTC) #2
sadrul
Added a test. +Ben for aura owners http://codereview.chromium.org/10837107/diff/1/ui/base/gestures/gesture_sequence.cc File ui/base/gestures/gesture_sequence.cc (right): http://codereview.chromium.org/10837107/diff/1/ui/base/gestures/gesture_sequence.cc#newcode916 ui/base/gestures/gesture_sequence.cc:916: if (!points_[i].in_use() ...
8 years, 4 months ago (2012-08-07 20:28:10 UTC) #3
Ben Goodger (Google)
8 years, 4 months ago (2012-08-07 21:20:25 UTC) #4
lgtm

can you make an OWNERS file in ui/aura/gestures?

Powered by Google App Engine
This is Rietveld 408576698