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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)

Created:
4 years ago by dtapuska
Modified:
3 years, 11 months ago
Reviewers:
esprehn, majidvp
CC:
darktears, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-api_chromium.org, blink-reviews-events_chromium.org, chromium-reviews, dglazkov+blink, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, Eric Willigers, kenneth.christiansen, kinuko+watch, mac-reviews_chromium.org, Navid Zolghadr, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove PlatformWheelEvent and use WebMouseWheelEvent instead Perform similar cleanup as GestureEvents used in change: https://codereview.chromium.org/2539283002/ Cleanup proposal: https://docs.google.com/document/d/1s4Lfy22CNU1OZ5Rec6Oano_5BvIhdK6uFVsVe7FphKI/edit BUG=625684 Review-Url: https://codereview.chromium.org/2586133003 Cr-Commit-Position: refs/heads/master@{#441735} Committed: https://chromium.googlesource.com/chromium/src/+/ac51325cc9bb568a337f38e300cdaa5c1c47099a

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 17

Patch Set 3 : Address comments #

Total comments: 2

Patch Set 4 : Adjust function name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -679 lines) Patch
M third_party/WebKit/Source/core/events/MouseEvent.h View 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 3 chunks +66 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.h View 1 2 5 chunks +5 lines, -95 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.cpp View 1 2 3 2 chunks +21 lines, -132 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 4 chunks +11 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/PlatformEvent.h View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformWheelEvent.h View 1 chunk +0 lines, -117 lines 0 comments Download
A third_party/WebKit/Source/platform/WebMouseEvent.cpp View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/WebMouseWheelEvent.cpp View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssertMatchingEnums.cpp View 1 chunk +0 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.cpp View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.h View 5 chunks +2 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 2 chunks +6 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 2 2 chunks +8 lines, -179 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 2 3 chunks +50 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebInputEvent.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMouseWheelEvent.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
dtapuska
4 years ago (2016-12-19 17:50:14 UTC) #6
majidvp
https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/core/events/WheelEvent.h File third_party/WebKit/Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/core/events/WheelEvent.h#newcode38 third_party/WebKit/Source/core/events/WheelEvent.h:38: enum WheelEventPhase { Can we get rid of this ...
4 years ago (2016-12-20 17:30:15 UTC) #11
dtapuska
https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/core/events/WheelEvent.h File third_party/WebKit/Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/core/events/WheelEvent.h#newcode38 third_party/WebKit/Source/core/events/WheelEvent.h:38: enum WheelEventPhase { On 2016/12/20 17:30:14, majidvp wrote: > ...
3 years, 11 months ago (2017-01-03 20:19:14 UTC) #13
majidvp
lgtm. https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode770 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp:770: translatedEvent.y = localPoint.y(); > Ya I don't know ...
3 years, 11 months ago (2017-01-04 17:32:46 UTC) #17
dtapuska
On 2017/01/04 17:32:46, majidvp wrote: > lgtm. > > https://codereview.chromium.org/2586133003/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp > File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): > ...
3 years, 11 months ago (2017-01-04 21:58:49 UTC) #18
esprehn
lgtm https://codereview.chromium.org/2586133003/diff/40001/third_party/WebKit/public/platform/WebMouseWheelEvent.h File third_party/WebKit/public/platform/WebMouseWheelEvent.h (right): https://codereview.chromium.org/2586133003/diff/40001/third_party/WebKit/public/platform/WebMouseWheelEvent.h#newcode97 third_party/WebKit/public/platform/WebMouseWheelEvent.h:97: bool cancelable() const { return dispatchType == Blocking; ...
3 years, 11 months ago (2017-01-04 22:00:53 UTC) #19
dtapuska
https://codereview.chromium.org/2586133003/diff/40001/third_party/WebKit/public/platform/WebMouseWheelEvent.h File third_party/WebKit/public/platform/WebMouseWheelEvent.h (right): https://codereview.chromium.org/2586133003/diff/40001/third_party/WebKit/public/platform/WebMouseWheelEvent.h#newcode97 third_party/WebKit/public/platform/WebMouseWheelEvent.h:97: bool cancelable() const { return dispatchType == Blocking; } ...
3 years, 11 months ago (2017-01-05 14:16:18 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/2586133003/60001
3 years, 11 months ago (2017-01-05 14:25:19 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 19:40:20 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ac51325cc9bb568a337f38e300cd...

Powered by Google App Engine
This is Rietveld 408576698