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

Issue 25373005: Do not transform scroll event ordinal values (Closed)

Created:
7 years, 2 months ago by Shecky Lin
Modified:
7 years, 2 months ago
Reviewers:
oshima, DaveMoore, adlr, sadrul
CC:
chromium-reviews
Visibility:
Public.

Description

Do not transform scroll event ordinal values We don't need to transform scroll event ordinal values anymore as we now interpret them as DIPs across the whole stack. Otherwise, high-DPI devices (e.g. Pixel) would see the overscroll sensitivity downscaled by the device scale factor. Contributed by sheckylin@chromium.org BUG=300059 TEST=Make sure it takes roughly the same distance to scroll on the touchpad to trigger the back/forward history navigation gesture on both Pixel and other low-res devices. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226767

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove the override #

Patch Set 3 : Fix ash/display unittests #

Total comments: 3

Patch Set 4 : Update comments #

Patch Set 5 : Oops... fix unittest again due to magnifier .. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -22 lines) Patch
M ash/display/display_controller_unittest.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M ash/display/root_window_transformers_unittest.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M ui/events/event.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ui/events/event.cc View 1 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Shecky Lin
Sadrul: could you help review the change? Thanks!
7 years, 2 months ago (2013-10-01 09:28:18 UTC) #1
sadrul
LGTM with the change. Please wait for review from Dave before landing. https://codereview.chromium.org/25373005/diff/1/ui/events/event.cc File ui/events/event.cc ...
7 years, 2 months ago (2013-10-01 11:17:06 UTC) #2
Shecky Lin
Thanks! Dave, could take a look of this? On 2013/10/01 11:17:06, sadrul wrote: > LGTM ...
7 years, 2 months ago (2013-10-02 02:50:55 UTC) #3
DaveMoore
lgtm
7 years, 2 months ago (2013-10-02 16:14:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheckylin@chromium.org/25373005/6001
7 years, 2 months ago (2013-10-03 02:59:32 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=161534
7 years, 2 months ago (2013-10-03 04:19:04 UTC) #6
Shecky Lin
Oops, sorry. oshima: could you help review the change on ash unittests? Thanks!
7 years, 2 months ago (2013-10-03 04:27:08 UTC) #7
oshima
lgtm with nits https://codereview.chromium.org/25373005/diff/34001/ash/display/display_controller_unittest.cc File ash/display/display_controller_unittest.cc (right): https://codereview.chromium.org/25373005/diff/34001/ash/display/display_controller_unittest.cc#newcode1151 ash/display/display_controller_unittest.cc:1151: // With device scale factor = ...
7 years, 2 months ago (2013-10-03 09:23:42 UTC) #8
Shecky Lin
Done. Thanks! https://codereview.chromium.org/25373005/diff/34001/ash/display/display_controller_unittest.cc File ash/display/display_controller_unittest.cc (right): https://codereview.chromium.org/25373005/diff/34001/ash/display/display_controller_unittest.cc#newcode1151 ash/display/display_controller_unittest.cc:1151: // With device scale factor = 2, ...
7 years, 2 months ago (2013-10-03 09:47:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheckylin@chromium.org/25373005/38001
7 years, 2 months ago (2013-10-03 09:48:28 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=161595
7 years, 2 months ago (2013-10-03 11:00:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheckylin@chromium.org/25373005/64001
7 years, 2 months ago (2013-10-03 13:23:29 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-03 15:51:22 UTC) #13
Message was sent while issue was closed.
Change committed as 226767

Powered by Google App Engine
This is Rietveld 408576698