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

Issue 1805063003: Handle gesture scroll events on scrollbars from Touchpad. (Closed)

Created:
4 years, 9 months ago by dtapuska
Modified:
4 years, 9 months ago
Reviewers:
tdresser, Rick Byers
CC:
chromium-reviews, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_6
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle gesture scroll events on scrollbars from Touchpad. With wheel gesture event generation wheel events inside scrollbars were not working correctly. The scrollbar was only entering the capturing phase on gesture tap down which doesn't occur with Touchpad. Transition capturing state on GestureScrollBegin when over a scrollbar. LayoutTest/fast/events/wheel-in-scrollbar.html LayoutTest covers testing this when wheel event gestures are enabled. BUG=568183 Committed: https://crrev.com/577382823d241be3ba011b9713c817afdfd5a2c3 Cr-Commit-Position: refs/heads/master@{#381988}

Patch Set 1 #

Patch Set 2 : Err; actually submit the updated file #

Patch Set 3 : Add Layout test #

Total comments: 2

Patch Set 4 : Add ASSERTS, remove layout test #

Total comments: 4

Patch Set 5 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -18 lines) Patch
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 2 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 2 3 4 1 chunk +41 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
dtapuska
4 years, 9 months ago (2016-03-15 20:27:41 UTC) #3
tdresser
LGTM https://codereview.chromium.org/1805063003/diff/40001/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp File third_party/WebKit/Source/platform/scroll/Scrollbar.cpp (right): https://codereview.chromium.org/1805063003/diff/40001/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp#newcode355 third_party/WebKit/Source/platform/scroll/Scrollbar.cpp:355: return true; This default case should be ASSERT_NOT_REACHED(), ...
4 years, 9 months ago (2016-03-16 13:52:30 UTC) #4
dtapuska
Removed layout test since it is already covered when https://codereview.chromium.org/1806103002/ lands https://codereview.chromium.org/1805063003/diff/40001/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp File third_party/WebKit/Source/platform/scroll/Scrollbar.cpp (right): ...
4 years, 9 months ago (2016-03-17 13:44:23 UTC) #5
Rick Byers
Looks good, just a couple questions. Since you're not adding any test here, please mention ...
4 years, 9 months ago (2016-03-18 13:52:02 UTC) #7
dtapuska
https://codereview.chromium.org/1805063003/diff/60001/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp File third_party/WebKit/Source/platform/scroll/Scrollbar.cpp (right): https://codereview.chromium.org/1805063003/diff/60001/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp#newcode345 third_party/WebKit/Source/platform/scroll/Scrollbar.cpp:345: *shouldUpdateCapture = true; On 2016/03/18 13:52:02, Rick Byers wrote: ...
4 years, 9 months ago (2016-03-18 14:37:57 UTC) #9
Rick Byers
Thanks, LGTM
4 years, 9 months ago (2016-03-18 15:17:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805063003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805063003/80001
4 years, 9 months ago (2016-03-18 15:21:32 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-18 16:30:19 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 16:31:32 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/577382823d241be3ba011b9713c817afdfd5a2c3
Cr-Commit-Position: refs/heads/master@{#381988}

Powered by Google App Engine
This is Rietveld 408576698