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

Issue 1774913004: Firing got/lost pointer capture events (Closed)

Created:
4 years, 9 months ago by Navid Zolghadr
Modified:
4 years, 9 months ago
Reviewers:
mustaq, Rick Byers
CC:
chromium-reviews, blink-reviews-html_chromium.org, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Firing got/lost pointer capture events This CL is taking care of firing gotpointercapture and lostpointercapture events based on the status of the pointer capture and whether the element is still in the document or not. BUG=592280 Committed: https://crrev.com/3add13bbfb3537a8a243711bb184d12faf3ef096 Cr-Commit-Position: refs/heads/master@{#381061}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Applying comments #

Patch Set 3 : Add the extra test #

Total comments: 2

Patch Set 4 : Variable rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -69 lines) Patch
M third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-capture.html View 1 2 5 chunks +58 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-capture-expected.txt View 1 2 9 chunks +126 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.idl View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 1 chunk +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 chunks +24 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 4 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAttributeNames.in View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLElement.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 10 chunks +70 lines, -34 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Navid Zolghadr
4 years, 9 months ago (2016-03-08 18:17:30 UTC) #2
sof
https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode183 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:183: PassRefPtrWillBeRawPtr<PointerEvent> pointerEvent, This is yet another instance where you ...
4 years, 9 months ago (2016-03-08 18:31:06 UTC) #3
Navid Zolghadr
https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode183 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:183: PassRefPtrWillBeRawPtr<PointerEvent> pointerEvent, On 2016/03/08 18:31:06, sof wrote: > This ...
4 years, 9 months ago (2016-03-08 18:34:14 UTC) #4
Navid Zolghadr
https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode183 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:183: PassRefPtrWillBeRawPtr<PointerEvent> pointerEvent, On 2016/03/08 18:34:14, Navid Zolghadr wrote: > ...
4 years, 9 months ago (2016-03-08 21:50:25 UTC) #5
sof
On 2016/03/08 21:50:25, Navid Zolghadr wrote: > https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp > File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): > > https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode183 ...
4 years, 9 months ago (2016-03-09 06:22:17 UTC) #6
mustaq
Looks good, thanks. - Need to check if HTMLAttributeNames.in leaks the info w/o the flag. ...
4 years, 9 months ago (2016-03-10 19:28:20 UTC) #7
Navid Zolghadr
ptal. Regarding the HTMLAttributeNames.in, as far as I found it is only being using to ...
4 years, 9 months ago (2016-03-10 20:27:35 UTC) #8
mustaq
https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode90 third_party/WebKit/Source/core/input/PointerEventManager.cpp:90: } On 2016/03/10 20:27:35, Navid Zolghadr wrote: > On ...
4 years, 9 months ago (2016-03-10 21:06:57 UTC) #9
Navid Zolghadr
On 2016/03/10 21:06:57, mustaq wrote: > https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp > File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): > > https://codereview.chromium.org/1774913004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode90 > ...
4 years, 9 months ago (2016-03-11 15:40:03 UTC) #10
mustaq
On 2016/03/11 15:40:03, Navid Zolghadr wrote: > On 2016/03/10 21:06:57, mustaq wrote: > > > ...
4 years, 9 months ago (2016-03-14 15:05:12 UTC) #11
Rick Byers
RS LGTM with nit https://codereview.chromium.org/1774913004/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1774913004/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode73 third_party/WebKit/Source/core/input/PointerEventManager.cpp:73: const AtomicString& pointerType = pointerEvent->type(); ...
4 years, 9 months ago (2016-03-14 19:19:15 UTC) #12
Navid Zolghadr
https://codereview.chromium.org/1774913004/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1774913004/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode73 third_party/WebKit/Source/core/input/PointerEventManager.cpp:73: const AtomicString& pointerType = pointerEvent->type(); On 2016/03/14 19:19:15, Rick ...
4 years, 9 months ago (2016-03-14 19:31:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774913004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774913004/60001
4 years, 9 months ago (2016-03-14 19:32:02 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-14 20:37:42 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 20:40:02 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3add13bbfb3537a8a243711bb184d12faf3ef096
Cr-Commit-Position: refs/heads/master@{#381061}

Powered by Google App Engine
This is Rietveld 408576698