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

Issue 1170513002: Update the mouse events on tapping of gesture across frames (Closed)

Created:
5 years, 6 months ago by Miyoung Shin(c)
Modified:
5 years, 5 months ago
Reviewers:
mustaq, Rick Byers
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Update the mouse events on tapping of gesture across frames The problem is that mouseout/leave events are not fired on tapping of gesture across frames after mouseover/enter is triggered. It is caused by passing the targeted gesture event directly to the hit frame. This patch makes mouseout and mouseleave events be fired first before passing to the hit frame, and mouseover and mouseenter events be fired in the ancestor frame chain of target frame. BUG=475055 R=rbyers@chromium.org, mustaq@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198729

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -18 lines) Patch
M LayoutTests/fast/events/resources/record-events.js View 1 chunk +6 lines, -18 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html View 1 2 3 1 chunk +137 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames-expected.txt View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/resources/gesture-tap-mouse-events-between-frames-iframe1.html View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/resources/gesture-tap-mouse-events-between-frames-iframe2.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/resources/gesture-tap-mouse-events-between-frames-iframe3.html View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/resources/gesture-tap-mouse-events-between-frames-iframe4.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/resources/gesture-tap-mouse-events-between-frames-iframe5.html View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/input/EventHandler.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/input/EventHandler.cpp View 1 2 3 4 2 chunks +76 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
Miyoung Shin(c)
PTAL.
5 years, 6 months ago (2015-06-04 15:41:04 UTC) #1
mustaq
Thanks Miyoung for taking care of the bug. I will need more time to review, ...
5 years, 6 months ago (2015-06-08 17:24:25 UTC) #2
Miyoung Shin(c)
https://codereview.chromium.org/1170513002/diff/1/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html File LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html (right): https://codereview.chromium.org/1170513002/diff/1/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html#newcode28 LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html:28: <iframe src='resources/gesture-tap-mouse-events-between-frames-iframe.html' id='frame'></iframe> On 2015/06/08 17:24:24, mustaq wrote: > ...
5 years, 6 months ago (2015-06-10 12:10:05 UTC) #3
mustaq
https://codereview.chromium.org/1170513002/diff/20001/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html File LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html (right): https://codereview.chromium.org/1170513002/diff/20001/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html#newcode30 LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html:30: description("Verifies that mouse events are fired on tapping of ...
5 years, 6 months ago (2015-06-16 14:50:44 UTC) #4
Miyoung Shin(c)
mustaq@. I've uploaded the new patch. PTAL. https://codereview.chromium.org/1170513002/diff/20001/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html File LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html (right): https://codereview.chromium.org/1170513002/diff/20001/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html#newcode30 LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events-between-frames.html:30: description("Verifies that ...
5 years, 6 months ago (2015-06-20 21:08:29 UTC) #6
mustaq
Sorry for the long delay! https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp#newcode2887 Source/core/input/EventHandler.cpp:2887: // Avoid that unnecessary ...
5 years, 5 months ago (2015-07-02 20:37:30 UTC) #7
Miyoung Shin(c)
https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp#newcode2927 Source/core/input/EventHandler.cpp:2927: while (indexEnteredFrameChain > 1) { On 2015/07/02 20:37:29, mustaq ...
5 years, 5 months ago (2015-07-05 12:39:33 UTC) #8
mustaq
https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1170513002/diff/20001/Source/core/input/EventHandler.cpp#newcode2927 Source/core/input/EventHandler.cpp:2927: while (indexEnteredFrameChain > 1) { On 2015/07/05 12:39:33, Miyoung ...
5 years, 5 months ago (2015-07-06 17:14:50 UTC) #9
Miyoung Shin(c)
> Thanks for bringing this up, just realized that the spec seems unclear even > ...
5 years, 5 months ago (2015-07-08 14:51:07 UTC) #10
mustaq
On 2015/07/08 14:51:07, Miyoung Shin(c) wrote: > > Thanks for bringing this up, just realized ...
5 years, 5 months ago (2015-07-08 20:13:37 UTC) #11
mustaq
A few nits I missed. Please fix them before CQing. https://codereview.chromium.org/1170513002/diff/80001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1170513002/diff/80001/Source/core/input/EventHandler.cpp#newcode2527 ...
5 years, 5 months ago (2015-07-08 20:21:54 UTC) #12
Miyoung Shin(c)
Rick@, I got LGTM from mustaq. PTAL. https://codereview.chromium.org/1170513002/diff/80001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1170513002/diff/80001/Source/core/input/EventHandler.cpp#newcode2527 Source/core/input/EventHandler.cpp:2527: // Avoid ...
5 years, 5 months ago (2015-07-09 11:59:44 UTC) #13
Rick Byers
Wow, that took a fair amount of work, but (in addition to fixing the immediate ...
5 years, 5 months ago (2015-07-10 19:52:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1170513002/100001
5 years, 5 months ago (2015-07-11 05:59:42 UTC) #17
commit-bot: I haz the power
5 years, 5 months ago (2015-07-11 07:02:46 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198729

Powered by Google App Engine
This is Rietveld 408576698