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

Issue 2199263005: Fix properties of got/lostpointercapture (Closed)

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

Description

Fix properties of got/lostpointercapture Make the attributes of got/lostpointercapture the same as the event that caused them to be fired. In the case of the delayed processing that will be the very next pointerevent. In the case of implicit release that will be pointerup/cancel right before got/lostpointercapture event. BUG=632766 Committed: https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e Cr-Commit-Position: refs/heads/master@{#410409}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fold the second implicit release into the normal delayed capture #

Patch Set 3 : Update the test output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -36 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html View 1 3 chunks +55 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt View 1 2 8 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 6 chunks +34 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
Navid Zolghadr
4 years, 4 months ago (2016-08-04 16:19:24 UTC) #4
mustaq
https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html (right): https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html#newcode80 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html:80: return false; Can't it be simpler? Why not return ...
4 years, 4 months ago (2016-08-04 21:43:05 UTC) #7
Navid Zolghadr
https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html (right): https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html#newcode80 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html:80: return false; On 2016/08/04 21:43:05, mustaq wrote: > Can't ...
4 years, 4 months ago (2016-08-05 14:26:08 UTC) #8
mustaq
https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html (right): https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html#newcode80 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html:80: return false; On 2016/08/05 14:26:08, Navid Zolghadr wrote: > ...
4 years, 4 months ago (2016-08-05 15:51:22 UTC) #9
Navid Zolghadr
ptal. https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html (right): https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html#newcode80 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html:80: return false; On 2016/08/05 15:51:22, mustaq wrote: > ...
4 years, 4 months ago (2016-08-05 17:08:04 UTC) #12
mustaq
lgtm https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2199263005/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode244 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:244: PointerEvent* PointerEventFactory::createPointerCaptureEvent( On 2016/08/05 17:08:03, Navid Zolghadr wrote: ...
4 years, 4 months ago (2016-08-05 17:29:17 UTC) #13
Navid Zolghadr
bokan@chromium.org: Please review changes in third_party/WebKit/Source/core/*
4 years, 4 months ago (2016-08-05 17:31:30 UTC) #15
bokan
Source/core lgtm
4 years, 4 months ago (2016-08-08 15:48:51 UTC) #18
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/2199263005/40001
4 years, 4 months ago (2016-08-08 19:31:09 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-08 20:04:56 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:06:35 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e
Cr-Commit-Position: refs/heads/master@{#410409}

Powered by Google App Engine
This is Rietveld 408576698