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

Issue 1829743003: Fix missing fields in GestureScrollBegin/Update/End event conversions. (Closed)

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

Description

Fix missing fields in GestureScrollBegin/Update/End event conversions. Some of the fields were missing from the event conversion path that occurs when a plugin is used. This caused fields to be populated with the default value. As a result the default values enabled overscroll scrolling when using a low precision delta mouse wheel with an MacOSX machine. The bug did not indicate which precision of mouse was being used but overscrolling for PDF files with a touchpad or a magic mouse (which have high precision deltas) still enable elastic overscroll; but that is consistent with MacOSX. This is a behavioural change for MacOSX but is consistent with Safari when using a high precision mouse. BUG=596778 Committed: https://crrev.com/c1d91e8f7cd46f1cb68ec09e49d4de5c90175d6c Cr-Commit-Position: refs/heads/master@{#382901}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix tdresser's comments in patch set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -27 lines) Patch
M third_party/WebKit/Source/core/events/GestureEvent.h View 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/GestureEvent.cpp View 5 chunks +19 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformGestureEvent.h View 1 4 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 8 chunks +55 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
dtapuska
4 years, 9 months ago (2016-03-23 16:47:42 UTC) #3
tdresser
"Overscrolling for PDF files with a touchpad or a magic mouse that have high precision ...
4 years, 9 months ago (2016-03-23 16:58:48 UTC) #6
dtapuska
https://codereview.chromium.org/1829743003/diff/1/third_party/WebKit/Source/platform/PlatformGestureEvent.h File third_party/WebKit/Source/platform/PlatformGestureEvent.h (right): https://codereview.chromium.org/1829743003/diff/1/third_party/WebKit/Source/platform/PlatformGestureEvent.h#newcode223 third_party/WebKit/Source/platform/PlatformGestureEvent.h:223: float m_deltaX; On 2016/03/23 16:58:47, tdresser wrote: > We ...
4 years, 9 months ago (2016-03-23 17:25:30 UTC) #8
Rick Byers
LGTM
4 years, 9 months ago (2016-03-23 18:02:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829743003/20001
4 years, 9 months ago (2016-03-23 18:38:39 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-23 19:35:00 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 19:36:25 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c1d91e8f7cd46f1cb68ec09e49d4de5c90175d6c
Cr-Commit-Position: refs/heads/master@{#382901}

Powered by Google App Engine
This is Rietveld 408576698