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

Issue 2866523002: Don't drop mouse wheel events with phase ending information in RWHVCF. (Closed)

Created:
3 years, 7 months ago by Kevin McNee
Modified:
3 years, 7 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't drop mouse wheel events with phase ending information in RWHVCF. Currently, RenderWidgetHostViewChildFrame::ProcessMouseWheelEvent drops mouse wheel events that have deltas of 0. However, we may see mouse wheel events carrying phase ending information that have deltas of 0. When these are dropped, MouseWheelEventQueue is not informed that the user's gesture has ended. So when it sees subsequent wheel events, it considers them all part of the same gesture. By allowing events with phase ending information through, MouseWheelEventQueue is able to properly start and end gesture scrolls. BUG=694393, 628742 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2866523002 Cr-Commit-Position: refs/heads/master@{#471797} Committed: https://chromium.googlesource.com/chromium/src/+/bf5beebbd5dea348bda215061cea04289d86e9f1

Patch Set 1 #

Patch Set 2 : Rebase only. #

Patch Set 3 : Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -1 line) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/site_per_process_mac_browsertest.mm View 1 2 2 chunks +135 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
Kevin McNee
Hi. Here's the CL which is needed for https://codereview.chromium.org/2815823003/ to work correctly on Mac and ...
3 years, 7 months ago (2017-05-04 20:49:07 UTC) #6
kenrb
lgtm
3 years, 7 months ago (2017-05-05 15:24:32 UTC) #9
Kevin McNee
creis, PTAL. Thanks.
3 years, 7 months ago (2017-05-05 18:20:03 UTC) #11
Charlie Reis
Thanks for the fix! Is it possible to include a test to avoid having these ...
3 years, 7 months ago (2017-05-05 21:42:20 UTC) #12
Kevin McNee
On 2017/05/05 21:42:20, Charlie Reis wrote: > Thanks for the fix! Is it possible to ...
3 years, 7 months ago (2017-05-12 22:04:21 UTC) #15
Charlie Reis
Thanks! LGTM
3 years, 7 months ago (2017-05-12 22:09:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2866523002/40001
3 years, 7 months ago (2017-05-15 16:34:30 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 16:47:41 UTC) #32
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bf5beebbd5dea348bda215061cea...

Powered by Google App Engine
This is Rietveld 408576698