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

Issue 2174863002: Change mouse pointer event targets to the capturing node (Closed)

Created:
4 years, 5 months ago by Navid Zolghadr
Modified:
4 years, 4 months ago
Reviewers:
dtapuska, mustaq, Rick Byers
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, nzolghadr+blinkwatch_chromium.org, dtapuska+blinkwatch_chromium.org, darktears, blink-reviews, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change mouse pointer event targets to the capturing node This is the first step to change to hit-test node of the mouse events to the captured node. Note that this change doesn't remove the hit-testing itself. So it doesn't improve the performance while a pointer is captured. To be able to do that we need some refactoring to be done first. See crbug.com/625843. BUG=629921 Committed: https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18 Cr-Commit-Position: refs/heads/master@{#409521}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Applying comments #

Patch Set 3 : Fix the test #

Patch Set 4 : Skip the wpt failing tests #

Total comments: 2

Patch Set 5 : Fix redundant compat mouse boundary events #

Total comments: 2

Patch Set 6 : Rebasing #

Total comments: 2

Patch Set 7 : Variable name change #

Messages

Total messages: 43 (26 generated)
Navid Zolghadr
4 years, 5 months ago (2016-07-22 15:45:05 UTC) #3
dtapuska
https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1414 third_party/WebKit/Source/core/input/EventHandler.cpp:1414: if (EventTarget* tmp = m_pointerEventManager.getMouseCapturingNode()) { You are going ...
4 years, 5 months ago (2016-07-22 15:57:39 UTC) #5
mustaq
https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1411 third_party/WebKit/Source/core/input/EventHandler.cpp:1411: Node* result = targetNode; s/result/newNodeUnderMouse https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): ...
4 years, 5 months ago (2016-07-22 16:01:02 UTC) #6
mustaq
https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt (right): https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt#newcode81 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt:81: green received pointermove Shouldn't this (or one below) be ...
4 years, 5 months ago (2016-07-22 16:07:28 UTC) #7
mustaq
https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-capture-expected.txt File third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-capture-expected.txt (right): https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-capture-expected.txt#newcode302 third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-capture-expected.txt:302: blue received pointerout 14 Seems we have been missing ...
4 years, 5 months ago (2016-07-22 16:22:26 UTC) #8
Navid Zolghadr
ptal. https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt (right): https://codereview.chromium.org/2174863002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt#newcode81 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt:81: green received pointermove On 2016/07/22 16:07:28, mustaq wrote: ...
4 years, 5 months ago (2016-07-22 16:39:24 UTC) #13
mustaq
https://codereview.chromium.org/2174863002/diff/60001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt (right): https://codereview.chromium.org/2174863002/diff/60001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt#newcode62 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt:62: blue received mouseout Why is blue receiving mouseout/leave w/o ...
4 years, 5 months ago (2016-07-22 19:50:18 UTC) #18
Navid Zolghadr
ptal. This should be good now. I had to add a quick hack to update ...
4 years, 5 months ago (2016-07-22 20:56:59 UTC) #21
Navid Zolghadr
4 years, 5 months ago (2016-07-24 22:37:51 UTC) #25
mustaq
This l-g-t-m, thanks for fixing the tests. I will take another look after rebasing with ...
4 years, 4 months ago (2016-08-02 19:31:07 UTC) #26
Navid Zolghadr
Rebased. ptal. https://codereview.chromium.org/2174863002/diff/80001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt (right): https://codereview.chromium.org/2174863002/diff/80001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt#newcode22 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt:22: green received pointerout On 2016/08/02 19:31:07, mustaq ...
4 years, 4 months ago (2016-08-02 20:43:15 UTC) #29
mustaq
LGTM. https://codereview.chromium.org/2174863002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2174863002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1512 third_party/WebKit/Source/core/input/EventHandler.cpp:1512: const auto& retVal = m_pointerEventManager.sendMousePointerEvent( s/retVal/eventResult?
4 years, 4 months ago (2016-08-02 21:47:12 UTC) #30
Rick Byers
LGTM
4 years, 4 months ago (2016-08-03 00:56:55 UTC) #33
Navid Zolghadr
https://codereview.chromium.org/2174863002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2174863002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1512 third_party/WebKit/Source/core/input/EventHandler.cpp:1512: const auto& retVal = m_pointerEventManager.sendMousePointerEvent( On 2016/08/02 21:47:12, mustaq ...
4 years, 4 months ago (2016-08-03 14:44:08 UTC) #36
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/2174863002/120001
4 years, 4 months ago (2016-08-03 14:44:47 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-03 16:08:55 UTC) #41
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 16:10:51 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18
Cr-Commit-Position: refs/heads/master@{#409521}

Powered by Google App Engine
This is Rietveld 408576698