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

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)

Created:
3 years, 11 months ago by dtapuska
Modified:
3 years, 10 months ago
Reviewers:
bokan, mustaq, Rick Byers
CC:
chromium-reviews, szager+layoutwatch_chromium.org, dshwang, eae+blinkwatch, fs, dcheng, apavlov+blink_chromium.org, kinuko+watch, kouhei+svg_chromium.org, rwlbuis, caseq+blink_chromium.org, krit, blink-reviews-events_chromium.org, blink-reviews-html_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, jchaffraix+rendering, devtools-reviews_chromium.org, blink-reviews, gyuyoung2, pdr+svgwatchlist_chromium.org, blink-reviews-api_chromium.org, zoltan1, blink-reviews-paint_chromium.org, blink-reviews-layout_chromium.org, sof, lushnikov+blink_chromium.org, dtapuska+blinkwatch_chromium.org, mlamouri+watch-blink_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, pfeldman+blink_chromium.org, f(malita), mac-reviews_chromium.org, Navid Zolghadr, Stephen Chennney, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove PlatformMouseEvent and use WebMouseEvent instead Perform similar cleanup as GestureEvents used in change: https://codereview.chromium.org/2539283002/ https://codereview.chromium.org/2586133003/ https://codereview.chromium.org/2646163002/ Cleanup proposal: https://docs.google.com/document/d/1s4Lfy22CNU1OZ5Rec6Oano_5BvIhdK6uFVsVe7FphKI/edit BUG=625684 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2650403006 Cr-Commit-Position: refs/heads/master@{#446853} Committed: https://chromium.googlesource.com/chromium/src/+/6a0ddfbef3bfb61f2de91026ac1e749172917210

Patch Set 1 #

Total comments: 26

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1098 lines, -1166 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 3 chunks +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 4 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 1 3 chunks +14 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 12 chunks +21 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/events/DragEvent.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/DragEvent.cpp View 3 chunks +20 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.h View 1 7 chunks +23 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 8 chunks +46 lines, -84 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 6 chunks +24 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 3 chunks +16 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RangeInputType.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 9 chunks +18 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 27 chunks +72 lines, -64 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandlerTest.cpp View 8 chunks +77 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandlingUtil.h View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandlingUtil.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/GestureManager.cpp View 6 chunks +44 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseEventManager.h View 8 chunks +23 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseEventManager.cpp View 24 chunks +120 lines, -111 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 9 chunks +20 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/input/ScrollManager.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/ScrollManager.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/HitTestResult.h View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/HitTestResult.cpp View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/AutoscrollController.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/AutoscrollController.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp View 1 chunk +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragController.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 4 chunks +16 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/page/EventWithHitTestResults.h View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/PointerLockController.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/PointerLockController.cpp View 2 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAElement.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/PlatformEvent.h View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformMouseEvent.h View 1 chunk +0 lines, -150 lines 0 comments Download
M third_party/WebKit/Source/platform/WebMouseEvent.cpp View 2 chunks +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 6 chunks +19 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp View 4 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssertMatchingEnums.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.cpp View 5 chunks +22 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 2 chunks +17 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/PopupMenuImpl.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.cpp View 1 chunk +9 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 3 chunks +12 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.h View 3 chunks +4 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 5 chunks +46 lines, -92 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 5 chunks +18 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 12 chunks +93 lines, -71 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 9 chunks +80 lines, -88 lines 0 comments Download
M third_party/WebKit/public/platform/WebInputEvent.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMouseEvent.h View 2 chunks +61 lines, -6 lines 0 comments Download
M third_party/WebKit/public/platform/WebPointerProperties.h View 2 chunks +20 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (14 generated)
dtapuska
3 years, 10 months ago (2017-01-27 14:31:02 UTC) #7
mustaq
https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/dom/Node.cpp#newcode2154 third_party/WebKit/Source/core/dom/Node.cpp:2154: IntPoint locationInContents = flooredIntPoint( Let's floor the coord first ...
3 years, 10 months ago (2017-01-27 16:53:45 UTC) #8
bokan
https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1901 third_party/WebKit/Source/core/input/EventHandler.cpp:1901: // coordinates instead of root frame coordinates. Why? The ...
3 years, 10 months ago (2017-01-27 16:57:18 UTC) #9
dtapuska
https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/dom/Node.cpp#newcode2154 third_party/WebKit/Source/core/dom/Node.cpp:2154: IntPoint locationInContents = flooredIntPoint( On 2017/01/27 16:53:44, mustaq wrote: ...
3 years, 10 months ago (2017-01-27 21:00:00 UTC) #11
bokan
Thanks, lgtm from me https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2650403006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1901 third_party/WebKit/Source/core/input/EventHandler.cpp:1901: // coordinates instead of root ...
3 years, 10 months ago (2017-01-27 21:08:47 UTC) #13
mustaq
lgtm
3 years, 10 months ago (2017-01-27 21:10:47 UTC) #14
dtapuska
rbyers@chromium.org: Please review changes in */platform/*
3 years, 10 months ago (2017-01-27 21:14:20 UTC) #16
Rick Byers
platform/ and public/platform LGTM
3 years, 10 months ago (2017-01-27 21:22:50 UTC) #17
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/2650403006/20001
3 years, 10 months ago (2017-01-28 00:29:18 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 00:40:09 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6a0ddfbef3bfb61f2de91026ac1e...

Powered by Google App Engine
This is Rietveld 408576698