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

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)

Created:
3 years, 11 months ago by dtapuska
Modified:
3 years, 10 months ago
CC:
chromium-reviews, caseq+blink_chromium.org, dtapuska+blinkwatch_chromium.org, blink-reviews-events_chromium.org, Navid Zolghadr, eae+blinkwatch, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kinuko+watch, blink-reviews-api_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix ppapi #

Patch Set 4 : Fix PPAPI #

Total comments: 7

Patch Set 5 : Address comments and failing test #

Total comments: 2

Patch Set 6 : Fix nits #

Total comments: 10

Patch Set 7 : Fix nits #

Patch Set 8 : One minor tweak for debug builds for plugins that don't support touch #

Patch Set 9 : Rebase #

Total comments: 2

Patch Set 10 : Fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -991 lines) Patch
M third_party/WebKit/Source/core/events/PointerEvent.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +32 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 2 3 4 6 chunks +21 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.h View 4 chunks +13 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.cpp View 3 chunks +18 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp View 1 2 3 4 1 chunk +17 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 2 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 4 5 6 7 chunks +28 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.h View 6 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 4 5 6 7 8 15 chunks +56 lines, -78 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp View 1 2 3 4 5 5 chunks +40 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformEvent.h View 2 chunks +0 lines, -25 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformTouchEvent.h View 1 chunk +0 lines, -61 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformTouchPoint.h View 1 chunk +0 lines, -68 lines 0 comments Download
A third_party/WebKit/Source/platform/WebTouchEvent.cpp View 1 chunk +36 lines, -0 lines 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 3 chunks +10 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.h View 1 2 3 4 5 3 chunks +4 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 2 3 4 5 6 7 7 chunks +62 lines, -246 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 4 5 6 chunks +45 lines, -262 lines 0 comments Download
M third_party/WebKit/public/platform/WebTouchEvent.h View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebTouchPoint.h View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (34 generated)
dtapuska
3 years, 11 months ago (2017-01-20 21:45:10 UTC) #12
mustaq
https://codereview.chromium.org/2646163002/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2646163002/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode387 third_party/WebKit/Source/core/input/PointerEventManager.cpp:387: static_cast<PlatformEvent::Modifiers>(event.modifiers()), We will ultimately need a UIEventWithKeyState::setFromWebModifiers(). Let's add ...
3 years, 11 months ago (2017-01-23 20:05:17 UTC) #15
dtapuska
https://codereview.chromium.org/2646163002/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2646163002/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode387 third_party/WebKit/Source/core/input/PointerEventManager.cpp:387: static_cast<PlatformEvent::Modifiers>(event.modifiers()), On 2017/01/23 20:05:17, mustaq wrote: > We will ...
3 years, 11 months ago (2017-01-24 14:26:28 UTC) #18
mustaq
LGTM % a few nits. Thanks for the whole platform event cleanup. https://codereview.chromium.org/2646163002/diff/60001/third_party/WebKit/Source/web/WebInputEventConversion.cpp File third_party/WebKit/Source/web/WebInputEventConversion.cpp ...
3 years, 11 months ago (2017-01-24 16:59:41 UTC) #21
dtapuska
https://codereview.chromium.org/2646163002/diff/80001/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp (right): https://codereview.chromium.org/2646163002/diff/80001/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp#newcode220 third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp:220: On 2017/01/24 16:59:41, mustaq wrote: > I guess we ...
3 years, 11 months ago (2017-01-25 02:43:34 UTC) #26
dtapuska
bokan@chromium.org: Can you take a look at this and then perhaps Rick can stamp it ...
3 years, 11 months ago (2017-01-25 02:45:13 UTC) #28
bokan
Looks great, mostly a few nits and questions. For my own understanding: previously, WebTouchPoint was ...
3 years, 11 months ago (2017-01-25 15:19:48 UTC) #29
bokan
Also, if you haven't, please do a quick test of DevTools' device emulation to make ...
3 years, 11 months ago (2017-01-25 15:22:35 UTC) #30
dtapuska
Yes bokan@ you are correct in your assumptions on how it works. I've tried on ...
3 years, 11 months ago (2017-01-25 17:59:17 UTC) #31
bokan
thanks, lgtm
3 years, 11 months ago (2017-01-25 18:05:45 UTC) #32
dtapuska
On 2017/01/25 18:05:45, bokan wrote: > thanks, lgtm rbyers@ can you review/stamp */platform/*
3 years, 11 months ago (2017-01-25 18:11:39 UTC) #33
dtapuska
On 2017/01/25 18:11:39, dtapuska wrote: > On 2017/01/25 18:05:45, bokan wrote: > > thanks, lgtm ...
3 years, 11 months ago (2017-01-26 13:46:59 UTC) #38
Rick Byers
public/platform and platform/ LGTM with nit The rest RS LGTM - you guys are the ...
3 years, 10 months ago (2017-01-27 17:27:59 UTC) #43
dtapuska
https://codereview.chromium.org/2646163002/diff/160001/third_party/WebKit/public/platform/WebTouchEvent.h File third_party/WebKit/public/platform/WebTouchEvent.h (right): https://codereview.chromium.org/2646163002/diff/160001/third_party/WebKit/public/platform/WebTouchEvent.h#newcode57 third_party/WebKit/public/platform/WebTouchEvent.h:57: BLINK_PLATFORM_EXPORT WebTouchPoint On 2017/01/27 17:27:59, Rick Byers wrote: > ...
3 years, 10 months ago (2017-01-27 19:22:50 UTC) #44
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/2646163002/180001
3 years, 10 months ago (2017-01-27 19:23:48 UTC) #47
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 21:38:03 UTC) #50
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/5f7cc1167a9026405c671be0f81f...

Powered by Google App Engine
This is Rietveld 408576698