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

Issue 2782733002: MouseWheelEventQueue sends scrollEnd right away when latching is disabled. (Closed)

Created:
3 years, 8 months ago by sahel
Modified:
3 years, 6 months ago
Reviewers:
dtapuska, tdresser
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MouseWheelEventQueue sends scrollEnd right away when latching is disabled. When latching is disabled, instead of setting a timer with zero timeout to send the scrollEnd event, we send the event right away. This change has happened to prevent unittests from unintentionally simulating the latching behavior when it's disabled. BUG=706175 Review-Url: https://codereview.chromium.org/2782733002 Cr-Commit-Position: refs/heads/master@{#460516} Committed: https://chromium.googlesource.com/chromium/src/+/08255cfdfb2e98ead2c82b2d0c9e12b9409d8d5b

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit fixed #

Total comments: 8

Patch Set 3 : review comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -104 lines) Patch
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 1 chunk +24 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_ack_handler.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_ack_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc View 1 2 7 chunks +94 lines, -57 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 26 chunks +107 lines, -40 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
sahel
dtapuska@chromium.org: Please review changes in tdresser@chromium.org: Please review changes in
3 years, 8 months ago (2017-03-29 15:16:55 UTC) #10
tdresser
LGTM https://codereview.chromium.org/2782733002/diff/1/content/browser/renderer_host/input/input_router_impl_unittest.cc File content/browser/renderer_host/input/input_router_impl_unittest.cc (right): https://codereview.chromium.org/2782733002/diff/1/content/browser/renderer_host/input/input_router_impl_unittest.cc#newcode1036 content/browser/renderer_host/input/input_router_impl_unittest.cc:1036: // There should be a ScrollEnd sent Missing ...
3 years, 8 months ago (2017-03-29 16:55:32 UTC) #11
dtapuska
https://codereview.chromium.org/2782733002/diff/20001/content/browser/renderer_host/input/input_router_impl_unittest.cc File content/browser/renderer_host/input/input_router_impl_unittest.cc (right): https://codereview.chromium.org/2782733002/diff/20001/content/browser/renderer_host/input/input_router_impl_unittest.cc#newcode1036 content/browser/renderer_host/input/input_router_impl_unittest.cc:1036: // There should be a ScrollEnd sent. Can we ...
3 years, 8 months ago (2017-03-29 17:49:03 UTC) #14
sahel
https://codereview.chromium.org/2782733002/diff/1/content/browser/renderer_host/input/input_router_impl_unittest.cc File content/browser/renderer_host/input/input_router_impl_unittest.cc (right): https://codereview.chromium.org/2782733002/diff/1/content/browser/renderer_host/input/input_router_impl_unittest.cc#newcode1036 content/browser/renderer_host/input/input_router_impl_unittest.cc:1036: // There should be a ScrollEnd sent On 2017/03/29 ...
3 years, 8 months ago (2017-03-29 20:10:43 UTC) #20
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/2782733002/40001
3 years, 8 months ago (2017-03-29 20:13:32 UTC) #23
dtapuska
On 2017/03/29 20:13:32, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 8 months ago (2017-03-29 20:20:13 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 20:22:16 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/08255cfdfb2e98ead2c82b2d0c9e...

Powered by Google App Engine
This is Rietveld 408576698