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

Issue 1192563002: Pass real tilt information to PointerEvents. (Closed)

Created:
5 years, 6 months ago by USE eero AT chromium.org
Modified:
5 years, 4 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Pass real tilt information to PointerEvents. This extends platform touch point and pointer event handlers to pass tilt information to pointer events. This CL is a part of a patch series: 1. https://codereview.chromium.org/1253183005/ for new WebPointerProperties fields 2. https://codereview.chromium.org/1260693003/ for eventSender web pointer property support 3. https://codereview.chromium.org/1192563002/ (this) 4. https://codereview.chromium.org/1187273004/ for handling tilt in Chromium event handlers BUG=514360 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199817

Patch Set 1 #

Total comments: 4

Patch Set 2 : Resolved TODOs #

Patch Set 3 : Pass to PointerEventInit #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : Comments for tilt fields #

Patch Set 6 : Rebase #

Patch Set 7 : Layout tests #

Total comments: 2

Patch Set 8 : Spelling, passing expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -11 lines) Patch
A LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/pointerevents/touch-pointer-event-properties-expected.txt View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-pointer-event-properties-expected.txt View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/input/EventHandler.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorInputAgent.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/PlatformTouchPoint.h View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M Source/web/WebInputEventConversion.cpp View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
USE eero AT chromium.org
PTAL. Also, please see https://codereview.chromium.org/1187273004/#msg2 about how to represent tilt. This should probably wait for ...
5 years, 6 months ago (2015-06-17 13:39:09 UTC) #2
mustaq
https://codereview.chromium.org/1192563002/diff/1/Source/web/WebInputEventConversion.cpp File Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/1192563002/diff/1/Source/web/WebInputEventConversion.cpp#newcode434 Source/web/WebInputEventConversion.cpp:434: if (point.tilt) { Yes, representing the 3D tilt with ...
5 years, 6 months ago (2015-06-17 19:43:28 UTC) #3
USE eero AT chromium.org
https://codereview.chromium.org/1192563002/diff/1/Source/web/WebInputEventConversion.cpp File Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/1192563002/diff/1/Source/web/WebInputEventConversion.cpp#newcode434 Source/web/WebInputEventConversion.cpp:434: if (point.tilt) { On 2015/06/17 19:43:28, mustaq wrote: > ...
5 years, 6 months ago (2015-06-18 11:34:08 UTC) #4
Rick Byers
Wasn't the plan to do this in WebMouseEvent (which we can eventually rename to WebPointerEvent) ...
5 years, 6 months ago (2015-06-18 17:10:35 UTC) #5
Rick Byers
On 2015/06/18 17:10:35, Rick Byers (Slow until 6-22) wrote: > Wasn't the plan to do ...
5 years, 6 months ago (2015-06-18 17:42:13 UTC) #6
mustaq
5 years, 6 months ago (2015-06-18 17:55:18 UTC) #8
mustaq
On 2015/06/18 17:55:18, mustaq wrote: Yes, pointerType makes most sense in WebMouseEvent (and hence our ...
5 years, 6 months ago (2015-06-18 17:55:46 UTC) #9
Rick Byers
On 2015/06/18 17:55:46, mustaq wrote: > On 2015/06/18 17:55:18, mustaq wrote: > > Yes, pointerType ...
5 years, 6 months ago (2015-06-18 21:31:51 UTC) #10
USE eero AT chromium.org
PTAL. Now tilt{X,Y} are in WebPointerProperties.
5 years, 4 months ago (2015-07-27 11:47:48 UTC) #11
Rick Byers
Looks good, thanks! The BUG # doesn't look right though. Do we have a bug ...
5 years, 4 months ago (2015-07-27 14:14:19 UTC) #12
Rick Byers
By the way, check out this cool demo: https://twitter.com/patrick_h_lauke/status/620727568090558464 You should see if you can ...
5 years, 4 months ago (2015-07-27 14:16:35 UTC) #13
USE eero AT chromium.org
On 2015/07/27 14:14:19, Rick Byers wrote: > The BUG # doesn't look right though. Do ...
5 years, 4 months ago (2015-07-27 17:53:36 UTC) #14
Rick Byers
On 2015/07/27 17:53:36, e_hakkinen wrote: > On 2015/07/27 14:14:19, Rick Byers wrote: > > The ...
5 years, 4 months ago (2015-07-27 20:44:56 UTC) #15
Rick Byers
Nice test. So we don't need to add an expected output file in virtual/pointerevents/, since ...
5 years, 4 months ago (2015-07-30 17:53:15 UTC) #16
Rick Byers
On 2015/07/30 17:53:15, Rick Byers (Out until Aug 4th) wrote: > Nice test. So we ...
5 years, 4 months ago (2015-07-30 17:53:45 UTC) #17
mustaq
On 2015/07/30 17:53:45, Rick Byers (Out until Aug 4th) wrote: > On 2015/07/30 17:53:15, Rick ...
5 years, 4 months ago (2015-07-30 19:38:17 UTC) #18
mustaq
https://codereview.chromium.org/1192563002/diff/120001/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html File LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html (right): https://codereview.chromium.org/1192563002/diff/120001/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html#newcode58 LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html:58: }, "Peceived pointer events"); Typo: "Received..."
5 years, 4 months ago (2015-07-30 20:18:21 UTC) #19
mustaq
On 2015/07/30 20:18:21, mustaq wrote: > https://codereview.chromium.org/1192563002/diff/120001/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html > File LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html > (right): > > https://codereview.chromium.org/1192563002/diff/120001/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html#newcode58 ...
5 years, 4 months ago (2015-07-30 21:30:07 UTC) #20
USE eero AT chromium.org
On 2015/07/30 17:53:15, Rick Byers (Out until Aug 4th) wrote: > Nice test. So we ...
5 years, 4 months ago (2015-07-31 09:37:12 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192563002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1192563002/140001
5 years, 4 months ago (2015-07-31 09:37:47 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/38853)
5 years, 4 months ago (2015-07-31 09:42:47 UTC) #26
USE eero AT chromium.org
+@bokan, +@haraken: Source/web/WebInputEventConversion.cpp +@eae, +@haraken: Source/platform/PlatformTouchPoint.h
5 years, 4 months ago (2015-07-31 10:44:47 UTC) #28
haraken
On 2015/07/31 10:44:47, e_hakkinen wrote: > +@bokan, +@haraken: Source/web/WebInputEventConversion.cpp > +@eae, +@haraken: Source/platform/PlatformTouchPoint.h web/ and ...
5 years, 4 months ago (2015-07-31 10:58:53 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192563002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1192563002/140001
5 years, 4 months ago (2015-07-31 11:33:05 UTC) #31
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 11:36:36 UTC) #32
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199817

Powered by Google App Engine
This is Rietveld 408576698