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

Issue 10958053: Fix drift while scrolling. (Closed)

Created:
8 years, 3 months ago by rjkroege
Modified:
8 years, 2 months ago
Reviewers:
sadrul
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Fix drift while scrolling. Scrolling with one finger (particularly slow scrolling) would exhibit drift between the scrolled amount and the finger position because of the use of the badly-defined bounding box center as the starting position of the scroll. Use the touch down as start position for single-finger scroll gestures. Tested via unit-test. BUG=150573 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158592

Patch Set 1 #

Patch Set 2 : removed spurious whitespace change #

Total comments: 5

Patch Set 3 : review comments #

Patch Set 4 : fixed windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -10 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 2 chunks +56 lines, -2 lines 0 comments Download
M ui/base/gestures/gesture_sequence.cc View 1 2 3 6 chunks +20 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rjkroege
please take a look.
8 years, 3 months ago (2012-09-21 22:49:29 UTC) #1
rjkroege
will fix white space before committing. https://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc File ui/base/gestures/gesture_sequence.cc (right): https://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc#newcode398 ui/base/gestures/gesture_sequence.cc:398: if (ScrollUpdate(event, point, ...
8 years, 3 months ago (2012-09-21 22:50:38 UTC) #2
sadrul
LGTM http://codereview.chromium.org/10958053/diff/1001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): http://codereview.chromium.org/10958053/diff/1001/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode2624 ui/aura/gestures/gesture_recognizer_unittest.cc:2624: EXPECT_EQ(gfx::Point(30, 30).ToString(), Nice. http://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc File ui/base/gestures/gesture_sequence.cc (right): http://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc#newcode43 ...
8 years, 3 months ago (2012-09-21 23:09:40 UTC) #3
rjkroege
https://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc File ui/base/gestures/gesture_sequence.cc (right): https://codereview.chromium.org/10958053/diff/1001/ui/base/gestures/gesture_sequence.cc#newcode43 ui/base/gestures/gesture_sequence.cc:43: // |preventDefault| on the associated touch event. On 2012/09/21 ...
8 years, 3 months ago (2012-09-24 13:53:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjkroege@chromium.org/10958053/6001
8 years, 3 months ago (2012-09-24 13:53:39 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-24 14:19:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjkroege@chromium.org/10958053/14001
8 years, 2 months ago (2012-09-25 14:40:34 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-09-25 17:10:36 UTC) #8
Change committed as 158592

Powered by Google App Engine
This is Rietveld 408576698