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

Issue 2587393004: Add tangentialPressure and twist properties to PointerEvent on Mac (Closed)

Created:
4 years ago by lanwei
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin (slow to review), kalyank, sadrul, mlamouri+watch-test-runner_chromium.org, tdresser+watch_chromium.org, viettrungluu+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, abarth-chromium, Aaron Boodman, dglazkov+blink, einbinder+watch-test-runner_chromium.org, yzshen+watch_chromium.org, mac-reviews_chromium.org, blink-reviews, darin-cc_chromium.org, kinuko+watch, blink-reviews-api_chromium.org, jochen+watch_chromium.org, qsr+mojo_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tangentialPressure and twist properties to PointerEvent on Mac Set the properties of tangentialPressure and twist for WebMouseEvent of stylus type, which is created from NSEvent in WebMouseEventBuilder::Build. Intent to implement and ship: PointerEvent.tangentialPressure and PointerEvent.twist: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/-NmHZqP4cQg BUG=649376 Review-Url: https://codereview.chromium.org/2587393004 Cr-Commit-Position: refs/heads/master@{#444792} Committed: https://chromium.googlesource.com/chromium/src/+/dcc9534ac96ac852f430c6c76b0c2f8521d851ae

Patch Set 1 #

Patch Set 2 : pressure mac #

Total comments: 10

Patch Set 3 : pointer event pressure #

Patch Set 4 : Add them into pointer-event-construtor.html #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -5 lines) Patch
M content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/idlharness-expected.txt View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt View 1 2 3 2 chunks +48 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.h View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventInit.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEvent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebPointerProperties.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M ui/events/blink/web_input_event_unittest.cc View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (38 generated)
lanwei
3 years, 11 months ago (2017-01-02 17:33:30 UTC) #16
dtapuska
We need to test the initialization of these fields. https://codereview.chromium.org/2587393004/diff/60001/third_party/WebKit/Source/core/events/PointerEvent.h File third_party/WebKit/Source/core/events/PointerEvent.h (right): https://codereview.chromium.org/2587393004/diff/60001/third_party/WebKit/Source/core/events/PointerEvent.h#newcode53 third_party/WebKit/Source/core/events/PointerEvent.h:53: ...
3 years, 11 months ago (2017-01-03 18:32:48 UTC) #17
mustaq
https://codereview.chromium.org/2587393004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac.mm File content/browser/renderer_host/input/web_input_event_builders_mac.mm (right): https://codereview.chromium.org/2587393004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac.mm#newcode351 content/browser/renderer_host/input/web_input_event_builders_mac.mm:351: result.twist = [event rotation]; The NSEvent spec doesn't specify ...
3 years, 11 months ago (2017-01-03 19:09:24 UTC) #18
Navid Zolghadr
https://codereview.chromium.org/2587393004/diff/60001/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/idlharness-expected.txt File third_party/WebKit/LayoutTests/imported/wpt/pointerevents/idlharness-expected.txt (right): https://codereview.chromium.org/2587393004/diff/60001/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/idlharness-expected.txt#newcode55 third_party/WebKit/LayoutTests/imported/wpt/pointerevents/idlharness-expected.txt:55: FAIL PointerEvent interface: existence and properties of interface prototype ...
3 years, 11 months ago (2017-01-03 21:05:53 UTC) #19
lanwei
https://codereview.chromium.org/2587393004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac.mm File content/browser/renderer_host/input/web_input_event_builders_mac.mm (right): https://codereview.chromium.org/2587393004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac.mm#newcode351 content/browser/renderer_host/input/web_input_event_builders_mac.mm:351: result.twist = [event rotation]; On 2017/01/03 19:09:24, mustaq wrote: ...
3 years, 11 months ago (2017-01-05 16:13:41 UTC) #30
mustaq
Please also add these fields in the test fast/events/constructors/pointer-event-constructor.html.
3 years, 11 months ago (2017-01-05 16:37:37 UTC) #31
lanwei
I added two properties into the constructor test file, could you please take another look, ...
3 years, 11 months ago (2017-01-06 03:44:32 UTC) #38
mustaq
LGTM. We need an intent to implement & ship. Before committing, please add a link ...
3 years, 11 months ago (2017-01-06 15:20:42 UTC) #39
Rick Byers
On 2017/01/06 15:20:42, mustaq wrote: > LGTM. > > We need an intent to implement ...
3 years, 11 months ago (2017-01-06 21:51:18 UTC) #40
lanwei
I sent out an Intent to implement and ship, could you please take another look, ...
3 years, 11 months ago (2017-01-10 18:58:42 UTC) #42
Rick Byers
On 2017/01/10 18:58:42, lanwei wrote: > I sent out an Intent to implement and ship, ...
3 years, 11 months ago (2017-01-10 19:13:38 UTC) #43
dtapuska
On 2017/01/10 19:13:38, Rick Byers wrote: > On 2017/01/10 18:58:42, lanwei wrote: > > I ...
3 years, 11 months ago (2017-01-19 15:08:10 UTC) #44
Rick Byers
LGTM
3 years, 11 months ago (2017-01-19 15:32:08 UTC) #45
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/2587393004/140001
3 years, 11 months ago (2017-01-19 15:43:19 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/23966) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-19 15:45:40 UTC) #49
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/2587393004/160001
3 years, 11 months ago (2017-01-19 16:43:47 UTC) #52
commit-bot: I haz the power
Committed patchset #5 (id:160001) as https://chromium.googlesource.com/chromium/src/+/dcc9534ac96ac852f430c6c76b0c2f8521d851ae
3 years, 11 months ago (2017-01-19 18:29:10 UTC) #55
jeffcarp
3 years, 11 months ago (2017-01-24 02:06:21 UTC) #56
Message was sent while issue was closed.
On 2017/01/19 at 18:29:10, commit-bot wrote:
> Committed patchset #5 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/dcc9534ac96ac852f430c6c76b0c...

Not sure if you were already aware, but since this has changes in exported/wpt
it got exported to WPT (just FYI):
https://github.com/w3c/web-platform-tests/pull/4606

Powered by Google App Engine
This is Rietveld 408576698