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

Issue 248083003: Mouse event handlers use user gesture tokens on top-level LocalFrames. (Closed)

Created:
6 years, 8 months ago by kenrb
Modified:
6 years, 8 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, ojan, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Mouse event handlers use user gesture tokens on top-level LocalFrames. The last mouseDown and mouseUp user gesture tokens are set on the top level frame's EventHandler. For the FrameTree to be able to contain RemoteFrames, we need to account for instances where the current frame has RemoteFrame ancestors. This change causes the tokens to be used on the EventHandler attached to the frame that is the root of the local subtree. This will not make gestures work with RemoteFrames, as that will need a much larger refactoring. Eventually gesture tracking will need to be synchronized across processes. BUG=346764 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172633

Patch Set 1 #

Patch Set 2 : review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M Source/core/frame/LocalFrame.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jochen (gone - plz use gerrit)
we also get the top frame's token in WebViewImpl, does that need updating too? Can ...
6 years, 8 months ago (2014-04-23 08:11:19 UTC) #1
kenrb
On 2014/04/23 08:11:19, jochen wrote: > we also get the top frame's token in WebViewImpl, ...
6 years, 8 months ago (2014-04-23 12:45:08 UTC) #2
jochen (gone - plz use gerrit)
essentially, there most be only one gesture token on the entire page. We can't store ...
6 years, 8 months ago (2014-04-23 12:51:50 UTC) #3
kenrb
On 2014/04/23 12:51:50, jochen wrote: > essentially, there most be only one gesture token on ...
6 years, 8 months ago (2014-04-23 13:35:55 UTC) #4
jochen (gone - plz use gerrit)
ok Shouldn't localFrameRoot be a method on Frame? Can you update the CL description to ...
6 years, 8 months ago (2014-04-23 15:20:07 UTC) #5
kenrb
On 2014/04/23 15:20:07, jochen wrote: > ok > > Shouldn't localFrameRoot be a method on ...
6 years, 8 months ago (2014-04-24 14:07:04 UTC) #6
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-24 19:05:35 UTC) #7
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 8 months ago (2014-04-25 13:05:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/248083003/20001
6 years, 8 months ago (2014-04-25 13:06:01 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 14:21:25 UTC) #10
Message was sent while issue was closed.
Change committed as 172633

Powered by Google App Engine
This is Rietveld 408576698