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

Issue 1838973003: Send lostpointercapture on touch capturing (Closed)

Created:
4 years, 8 months ago by Navid Zolghadr
Modified:
4 years, 8 months ago
Reviewers:
bokan, dtapuska, mustaq
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send lostpointercapture on touch capturing We are sending both got/lostpointercapture events on touches by setting the implicit pointer capture right after the touch starts. Also sending lostpointercapture on touch released or cancel right away after pointerup/cancel as we will never get another pointer event with the same id to trigger sending the lostpointercapture. More on the interaction of pointer event capturing and touch capturing will be addressed in crbug.com/579553 BUG=596505 Committed: https://crrev.com/268b54a5f857d2d8a89199e3ada14b0afed2075e Cr-Commit-Position: refs/heads/master@{#385219}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Updating the test and implicit capture on touchPressed #

Total comments: 9

Patch Set 3 : Enhance the multi-touch test #

Total comments: 4

Patch Set 4 : Clarifying the comment #

Patch Set 5 : #

Messages

Total messages: 24 (10 generated)
Navid Zolghadr
4 years, 8 months ago (2016-03-29 19:44:43 UTC) #3
mustaq
https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html (right): https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html:42: var eventList = ["pointerenter", "pointerleave", "pointerover", "pointerout", "pointermove", "pointerdown", ...
4 years, 8 months ago (2016-03-30 21:21:55 UTC) #4
Navid Zolghadr
https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode318 third_party/WebKit/Source/core/input/PointerEventManager.cpp:318: WebInputEventResult PointerEventManager::sendTouchPointerEvent( On 2016/03/30 21:21:54, mustaq wrote: > Forgot ...
4 years, 8 months ago (2016-03-31 14:41:47 UTC) #5
mustaq
https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode318 third_party/WebKit/Source/core/input/PointerEventManager.cpp:318: WebInputEventResult PointerEventManager::sendTouchPointerEvent( On 2016/03/31 14:41:47, Navid Zolghadr wrote: > ...
4 years, 8 months ago (2016-03-31 15:24:44 UTC) #6
Navid Zolghadr
ptal https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html (right): https://codereview.chromium.org/1838973003/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html:42: var eventList = ["pointerenter", "pointerleave", "pointerover", "pointerout", "pointermove", ...
4 years, 8 months ago (2016-03-31 16:22:26 UTC) #7
mustaq
This is much cleaner, thanks. Looks good, needs a slightly deeper multitouch test. https://codereview.chromium.org/1838973003/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html File ...
4 years, 8 months ago (2016-04-04 15:37:26 UTC) #8
Navid Zolghadr
ptal https://codereview.chromium.org/1838973003/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html (right): https://codereview.chromium.org/1838973003/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html#newcode32 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html:32: var x2 = rect.left + 5; On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 16:26:58 UTC) #9
mustaq
LGTM with nits on test clarity & comment. Please update the CL description: "we are ...
4 years, 8 months ago (2016-04-05 15:46:18 UTC) #10
Navid Zolghadr
ptal. https://codereview.chromium.org/1838973003/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html (right): https://codereview.chromium.org/1838973003/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html#newcode114 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture.html:114: eventSender.updateTouchPoint(0, x1+1, y1+1); On 2016/04/05 15:46:17, mustaq wrote: ...
4 years, 8 months ago (2016-04-05 16:23:52 UTC) #13
mustaq
LGTM.
4 years, 8 months ago (2016-04-05 16:39:26 UTC) #14
bokan
rs lgtm
4 years, 8 months ago (2016-04-05 17:08:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838973003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838973003/80001
4 years, 8 months ago (2016-04-05 17:56:22 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-05 18:03:13 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 18:04:28 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/268b54a5f857d2d8a89199e3ada14b0afed2075e
Cr-Commit-Position: refs/heads/master@{#385219}

Powered by Google App Engine
This is Rietveld 408576698