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

Issue 2914393002: Adding phase info to wheel events migrated to wheel phase handler class. (Closed)

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

Description

Adding phase info to wheel events migrated to wheel phase handler class. This cl contains a new class which is responsible for adding timer based phase info to WebMouseWheelEvents before they are dispatched. The following two cls do this for aura and mac. https://codereview.chromium.org/2882443002/ https://codereview.chromium.org/2902303002/ This cl moves those code to a single class to support android as well. To test it for mac and aura previously added tests are still valid. No unittest is available for render_widget_host_view_android.cc BUG=526463 TESTS=RenderWidgetHostViewAuraWheelScrollLatchingEnabledTest. TimerBasedWheelEventPhaseInfo/TouchpadFlingStartStopsWheelPhaseTimer/ GSBWithTouchSourceStopsWheelScrollSequence, RenderWidgetHostViewMacWithWheelScrollLatchingEnabledTest. WheelWithPhaseEndedIsNotForwardedImmediately/ WheelWithMomentumPhaseBeganStopsTheWheelEndDispatchTimer/ WheelWithPhaseBeganDispatchesThePendingWheelEnd Review-Url: https://codereview.chromium.org/2914393002 Cr-Commit-Position: refs/heads/master@{#477669} Committed: https://chromium.googlesource.com/chromium/src/+/09de0d0195a0c0f032611a87794ade22dbc63ef7

Patch Set 1 #

Patch Set 2 : has pending wheel end used in mac unittests. #

Total comments: 12

Patch Set 3 : review comments addressed #

Patch Set 4 : fixed mouse_wheel_phase_handler_path in rwhv_mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -157 lines) Patch
M content/browser/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/mouse_wheel_phase_handler.h View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/mouse_wheel_phase_handler.cc View 1 2 1 chunk +99 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 chunks +38 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_event_handler.h View 1 2 3 chunks +2 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_event_handler.cc View 1 2 6 chunks +14 lines, -63 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 5 chunks +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 4 chunks +9 lines, -61 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 34 (26 generated)
sahel
3 years, 6 months ago (2017-06-02 22:46:00 UTC) #12
tdresser
This is going to be a great cleanup, thanks! How much trouble would it be ...
3 years, 6 months ago (2017-06-05 15:19:09 UTC) #15
sahel
As we talked, wheel events are not common for Android and the browser test in ...
3 years, 6 months ago (2017-06-05 19:05:44 UTC) #18
tdresser
LGTM
3 years, 6 months ago (2017-06-05 19:19:01 UTC) #21
sahel
jam@chromium.org: Please review changes in content/browser/BUILD.gn
3 years, 6 months ago (2017-06-06 14:42:40 UTC) #27
jam
lgtm
3 years, 6 months ago (2017-06-07 01:17:15 UTC) #28
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/2914393002/80001
3 years, 6 months ago (2017-06-07 14:33:20 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 16:10:04 UTC) #34
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/09de0d0195a0c0f032611a87794a...

Powered by Google App Engine
This is Rietveld 408576698