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

Issue 2831933002: Make sure PointerEvents's isPrimary set correctly for stylus (Closed)

Created:
3 years, 8 months ago by lanwei
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-w3ctests_chromium.org, dtapuska+blinkwatch_chromium.org, Navid Zolghadr
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure PointerEvents's isPrimary set correctly for stylus When a pen enters and leaves a tablet's proximity and enters again, the PointerEvents' isPrimary should always be true. Testing page: https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-pointer-hud.html Webplatform test pointerevent_pointerleave_pen-manual.html does not work right now because of no support of PointerLeave events when pen leaves the range of the tablet in PointerActionSequence API. I will add it soon. BUG=713745 Review-Url: https://codereview.chromium.org/2831933002 Cr-Commit-Position: refs/heads/master@{#467997} Committed: https://chromium.googlesource.com/chromium/src/+/c007949541f4d2238c9653a4e3b8dbc0987bc752

Patch Set 1 : isprimary #

Total comments: 4

Patch Set 2 : primaray #

Patch Set 3 : isprimary #

Total comments: 4

Patch Set 4 : isprimary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 63 (53 generated)
dtapuska
https://codereview.chromium.org/2831933002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html File third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html (right): https://codereview.chromium.org/2831933002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html#newcode33 third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html:33: assert_equals(event.isPrimary, true, "The " + event.type + ".isPrimary is ...
3 years, 8 months ago (2017-04-20 21:04:14 UTC) #17
Navid Zolghadr
https://codereview.chromium.org/2831933002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html File third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html (right): https://codereview.chromium.org/2831933002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html#newcode50 third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_pointerleave_pen-manual.html:50: When a pointing device that supports hover (pen stylus) ...
3 years, 8 months ago (2017-04-20 21:34:20 UTC) #18
lanwei
Sorry, this patch is still under implementation, not ready for review. I should not add ...
3 years, 8 months ago (2017-04-21 15:29:54 UTC) #19
lanwei
3 years, 7 months ago (2017-04-27 15:59:57 UTC) #47
Navid Zolghadr
lgtm https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js File third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js (right): https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js#newcode6 third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js:6: }).then(function() { This one does nothing anyway as ...
3 years, 7 months ago (2017-04-27 16:04:34 UTC) #48
dtapuska
https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode527 third_party/WebKit/Source/core/input/PointerEventManager.cpp:527: pointer_event->pointerType() == "pen") { I think this could probably ...
3 years, 7 months ago (2017-04-27 16:57:39 UTC) #49
lanwei
https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js File third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js (right): https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js#newcode6 third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js:6: }).then(function() { On 2017/04/27 16:04:34, Navid Zolghadr wrote: > ...
3 years, 7 months ago (2017-04-27 20:18:20 UTC) #56
dtapuska
On 2017/04/27 20:18:20, lanwei wrote: > https://codereview.chromium.org/2831933002/diff/160001/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js > File > third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointerleave_pen-manual-automation.js > (right): > > ...
3 years, 7 months ago (2017-04-28 01:59:00 UTC) #57
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/2831933002/180001
3 years, 7 months ago (2017-04-28 14:13:26 UTC) #60
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 15:06:47 UTC) #63
Message was sent while issue was closed.
Committed patchset #4 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/c007949541f4d2238c9653a4e3b8...

Powered by Google App Engine
This is Rietveld 408576698