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

Issue 1891303002: Fixed scrolling for mixed-valuator mouse (Closed)

Created:
4 years, 8 months ago by Will Shackleton
Modified:
4 years, 8 months ago
Reviewers:
bokan, dtapuska, sadrul
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed scrolling for mixed-valuator mouse I fixed scrolling for the case when a mouse only has a scroll valuator for one of its axes; this is done by first making GetScrollOffsetsFromXEvent only return true when an actual smooth scroll event is being processed, and secondly by adding a second check that disables legacy scroll events if the device could have outputted a valuator event. BUG=596013 Committed: https://crrev.com/1517f16eda05f6cbec46cb9efdf806ce7ed2240c Cr-Commit-Position: refs/heads/master@{#389059}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M ui/events/x/events_x_utils.cc View 2 chunks +12 lines, -5 lines 1 comment Download

Messages

Total messages: 12 (5 generated)
Will Shackleton
I've tested that scrolling still works with the devices I have, but I don't have ...
4 years, 8 months ago (2016-04-15 17:12:10 UTC) #3
sadrul
https://codereview.chromium.org/1891303002/diff/1/ui/events/x/events_x_utils.cc File ui/events/x/events_x_utils.cc (right): https://codereview.chromium.org/1891303002/diff/1/ui/events/x/events_x_utils.cc#newcode630 ui/events/x/events_x_utils.cc:630: // block the legacy scroll events for the necessary ...
4 years, 8 months ago (2016-04-19 14:28:24 UTC) #4
Will Shackleton
On 2016/04/19 14:28:24, sadrul wrote: > https://codereview.chromium.org/1891303002/diff/1/ui/events/x/events_x_utils.cc > File ui/events/x/events_x_utils.cc (right): > > https://codereview.chromium.org/1891303002/diff/1/ui/events/x/events_x_utils.cc#newcode630 > ...
4 years, 8 months ago (2016-04-19 18:17:39 UTC) #5
sadrul
lgtm
4 years, 8 months ago (2016-04-22 02:42:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891303002/1
4 years, 8 months ago (2016-04-22 08:29:02 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-22 09:11:41 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:45:38 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1517f16eda05f6cbec46cb9efdf806ce7ed2240c
Cr-Commit-Position: refs/heads/master@{#389059}

Powered by Google App Engine
This is Rietveld 408576698