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

Issue 2147263003: Send got/lostpointercapture immediately if possible (Closed)

Created:
4 years, 5 months ago by Navid Zolghadr
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews, tfarina, blink-reviews-w3ctests_chromium.org, dtapuska+blinkwatch_chromium.org, nzolghadr+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 got/lostpointercapture immediately if possible After calls to set/releasepointercapture queue the process pending pointer capture task if the capture target and pending capture target were the same. This way it not only sends the capture event immediately in the normal cases but also doesn't generate to the inifinite got/lostpointercapture event sequence. BUG=627192 Committed: https://crrev.com/7d314cf3ad6a9f0fe163228f7a0efc5a72adc560 Cr-Commit-Position: refs/heads/master@{#406972}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 25

Patch Set 3 : Applying comments #

Patch Set 4 : Make PointerEventManager a GC object #

Total comments: 1

Patch Set 5 : Reverting PointerEventManager to be a normal object #

Total comments: 4

Patch Set 6 : Apply comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -43 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_lostpointercapture_is_first-manual-automation.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_releasepointercapture_onpointerup_mouse-manual-automation.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 3 4 5 5 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 4 5 10 chunks +90 lines, -18 lines 0 comments Download

Messages

Total messages: 70 (32 generated)
Navid Zolghadr
I was not sure how I should pass the "this" parameter to the queued task. ...
4 years, 5 months ago (2016-07-15 16:38:18 UTC) #5
Rick Byers
Just a few small things. I love that the only test changes required are removing ...
4 years, 5 months ago (2016-07-15 17:35:32 UTC) #6
mustaq
Question for Rick: it's not clear to me how posted tasks are prioritized against other ...
4 years, 5 months ago (2016-07-15 19:35:43 UTC) #7
Rick Byers
On 2016/07/15 19:35:43, mustaq wrote: > Question for Rick: it's not clear to me how ...
4 years, 5 months ago (2016-07-15 20:13:02 UTC) #8
Navid Zolghadr
I believe I have applied all the comments. One question regarding that WTF::unretained instance. I ...
4 years, 5 months ago (2016-07-15 20:41:01 UTC) #14
mustaq
After an offline discussion & a closer look, I am convinced that posted tasks will ...
4 years, 5 months ago (2016-07-15 21:06:14 UTC) #17
Rick Byers
On 2016/07/15 20:41:01, Navid Zolghadr wrote: > I believe I have applied all the comments. ...
4 years, 5 months ago (2016-07-15 21:36:28 UTC) #18
Rick Byers
On 2016/07/15 21:36:28, Rick Byers wrote: > On 2016/07/15 20:41:01, Navid Zolghadr wrote: > > ...
4 years, 5 months ago (2016-07-15 21:45:08 UTC) #19
Rick Byers
LGTM (modulo the outstanding Oilpan question - adding oilpan-reviews for that).
4 years, 5 months ago (2016-07-15 21:47:43 UTC) #21
haraken
If the task is guaranteed to run in a finite time period, you can just ...
4 years, 5 months ago (2016-07-16 01:53:41 UTC) #22
Navid Zolghadr
On 2016/07/16 01:53:41, haraken wrote: > If the task is guaranteed to run in a ...
4 years, 5 months ago (2016-07-16 03:08:47 UTC) #23
haraken
On 2016/07/16 03:08:47, Navid Zolghadr wrote: > On 2016/07/16 01:53:41, haraken wrote: > > If ...
4 years, 5 months ago (2016-07-16 03:54:08 UTC) #24
Rick Byers
Has there been any discussion of supporting Persistent interior pointers in Oilpan (see brief discussion ...
4 years, 5 months ago (2016-07-16 12:44:09 UTC) #25
Rick Byers
Has there been any discussion of supporting Persistent interior pointers in Oilpan (see brief discussion ...
4 years, 5 months ago (2016-07-16 12:44:09 UTC) #26
haraken
On 2016/07/16 12:44:09, Rick Byers (out until Aug 1) wrote: > Has there been any ...
4 years, 5 months ago (2016-07-17 13:09:55 UTC) #27
Rick Byers
On 2016/07/17 13:09:55, haraken wrote: > On 2016/07/16 12:44:09, Rick Byers (out until Aug 1) ...
4 years, 5 months ago (2016-07-17 17:35:45 UTC) #28
haraken
On 2016/07/17 17:35:45, Rick Byers (out until Aug 1) wrote: > On 2016/07/17 13:09:55, haraken ...
4 years, 5 months ago (2016-07-18 12:32:11 UTC) #29
Navid Zolghadr
I made PointerEventManager a GC object. ptal.
4 years, 5 months ago (2016-07-18 15:50:38 UTC) #32
haraken
On 2016/07/18 15:50:38, Navid Zolghadr wrote: > I made PointerEventManager a GC object. ptal. Thanks, ...
4 years, 5 months ago (2016-07-18 16:47:03 UTC) #35
Navid Zolghadr
On 2016/07/18 16:47:03, haraken wrote: > On 2016/07/18 15:50:38, Navid Zolghadr wrote: > > I ...
4 years, 5 months ago (2016-07-18 17:59:06 UTC) #36
Navid Zolghadr
4 years, 5 months ago (2016-07-18 18:40:38 UTC) #38
mustaq
LGTM but please file a bug for missing boundary events during jank. Whether we fix ...
4 years, 5 months ago (2016-07-18 20:31:40 UTC) #39
haraken
On 2016/07/18 17:59:06, Navid Zolghadr wrote: > On 2016/07/18 16:47:03, haraken wrote: > > On ...
4 years, 5 months ago (2016-07-18 23:03:58 UTC) #40
Navid Zolghadr
On 2016/07/18 23:03:58, haraken wrote: > On 2016/07/18 17:59:06, Navid Zolghadr wrote: > > On ...
4 years, 5 months ago (2016-07-19 15:45:01 UTC) #41
haraken
> Using a debug build it gives the error in an ASSERT here > > ...
4 years, 5 months ago (2016-07-19 20:24:09 UTC) #42
Navid Zolghadr
On 2016/07/19 20:24:09, haraken wrote: > > Using a debug build it gives the error ...
4 years, 5 months ago (2016-07-19 20:29:16 UTC) #43
haraken
On 2016/07/19 20:29:16, Navid Zolghadr wrote: > On 2016/07/19 20:24:09, haraken wrote: > > > ...
4 years, 5 months ago (2016-07-19 20:43:32 UTC) #44
Navid Zolghadr
ptal. Since we wanted this change in sooner, for now I just put a hack ...
4 years, 5 months ago (2016-07-21 12:20:13 UTC) #50
haraken
On 2016/07/21 12:20:13, Navid Zolghadr wrote: > ptal. > Since we wanted this change in ...
4 years, 5 months ago (2016-07-21 13:41:18 UTC) #51
mustaq
On 2016/07/21 13:41:18, haraken wrote: > On 2016/07/21 12:20:13, Navid Zolghadr wrote: > > ptal. ...
4 years, 5 months ago (2016-07-21 14:31:19 UTC) #52
haraken
I'm not really happy about landing hacky things to ToT without investigating the real issue, ...
4 years, 5 months ago (2016-07-21 15:08:09 UTC) #54
Navid Zolghadr
I applied all the comments. haraken@ I will work on that GC issue next week ...
4 years, 5 months ago (2016-07-21 19:17:22 UTC) #57
haraken
On 2016/07/21 19:17:22, Navid Zolghadr wrote: > I applied all the comments. > haraken@ I ...
4 years, 5 months ago (2016-07-21 19:23:29 UTC) #58
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/2147263003/100001
4 years, 5 months ago (2016-07-21 19:46:50 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/248114)
4 years, 5 months ago (2016-07-21 20:01:16 UTC) #65
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/2147263003/100001
4 years, 5 months ago (2016-07-21 20:53:14 UTC) #67
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-21 22:42:37 UTC) #68
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 22:43:58 UTC) #70
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7d314cf3ad6a9f0fe163228f7a0efc5a72adc560
Cr-Commit-Position: refs/heads/master@{#406972}

Powered by Google App Engine
This is Rietveld 408576698