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

Issue 1828203003: Flash players weren't receiving mouse wheel events. (Closed)

Created:
4 years, 9 months ago by dtapuska
Modified:
4 years, 8 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Flash players weren't receiving mouse wheel events. With the move to gesture based scrolling flash players stopped receiving mouse wheel events. Flash players were receiving wheel events by fluke because they are no fast scrollable regions. The events wouldn't get handled in the compositor and would get sent to main thread. But since with wheel gestures we don't ever send the events to main thread if there is no listener this stopped working. Correctly articulate to the EventHandlerRegistry when plugin objects wish to receive wheel events. BUG=597262 Committed: https://crrev.com/a6293982c7f5c0ad0e2ae56238fd6062ca866fcf Cr-Commit-Position: refs/heads/master@{#383663}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 3 chunks +11 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
dtapuska
4 years, 9 months ago (2016-03-24 14:03:57 UTC) #3
aelias_OOO_until_Jul13
Can you write a unit test for this? Plugin input keeps having serious regressions because ...
4 years, 9 months ago (2016-03-24 19:15:05 UTC) #5
dtapuska
https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode733 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp:733: frameHost->eventHandlerRegistry().didRemoveEventHandler(*m_element, EventHandlerRegistry::WheelEventBlocking); On 2016/03/24 19:15:05, aelias wrote: > Can ...
4 years, 9 months ago (2016-03-24 21:14:29 UTC) #6
aelias_OOO_until_Jul13
https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode733 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp:733: frameHost->eventHandlerRegistry().didRemoveEventHandler(*m_element, EventHandlerRegistry::WheelEventBlocking); On 2016/03/24 at 21:14:29, dtapuska wrote: > ...
4 years, 9 months ago (2016-03-25 00:05:40 UTC) #7
dtapuska
On 2016/03/25 00:05:40, aelias wrote: > https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp > File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): > > https://codereview.chromium.org/1828203003/diff/1/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode733 > ...
4 years, 8 months ago (2016-03-29 01:39:25 UTC) #8
aelias_OOO_until_Jul13
lgtm
4 years, 8 months ago (2016-03-29 01:42:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203003/20001
4 years, 8 months ago (2016-03-29 03:19:55 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-29 03:38:02 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 03:40:40 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6293982c7f5c0ad0e2ae56238fd6062ca866fcf
Cr-Commit-Position: refs/heads/master@{#383663}

Powered by Google App Engine
This is Rietveld 408576698