Changeset 106572 in webkit
- Timestamp:
- Feb 2, 2012 11:03:29 AM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106568 r106572 1 2012-02-02 Anders Carlsson <andersca@apple.com> 2 3 NPAPI will not send mouse up events when mouse is outside plugin area 4 https://bugs.webkit.org/show_bug.cgi?id=77657 5 <rdar://problem/10160674> 6 7 Reviewed by Andreas Kling. 8 9 Export EventHandler::setCapturingMouseEventsNode. 10 11 * WebCore.exp.in: 12 1 13 2012-02-02 Antti Koivisto <antti@apple.com> 2 14 -
trunk/Source/WebCore/WebCore.exp.in
r106492 r106572 237 237 __ZN7WebCore12EventHandler23handleMouseReleaseEventERKNS_18PlatformMouseEventE 238 238 __ZN7WebCore12EventHandler24logicalScrollRecursivelyENS_22ScrollLogicalDirectionENS_17ScrollGranularityEPNS_4NodeE 239 __ZN7WebCore12EventHandler27setCapturingMouseEventsNodeEN3WTF10PassRefPtrINS_4NodeEEE 239 240 __ZN7WebCore12EventHandler31passMouseMovedEventToScrollbarsEP7NSEvent 240 241 __ZN7WebCore12EventHandler31passMouseMovedEventToScrollbarsERKNS_18PlatformMouseEventE -
trunk/Source/WebKit2/ChangeLog
r106559 r106572 1 2012-02-02 Anders Carlsson <andersca@apple.com> 2 3 NPAPI will not send mouse up events when mouse is outside plugin area 4 https://bugs.webkit.org/show_bug.cgi?id=77657 5 <rdar://problem/10160674> 6 7 Reviewed by Andreas Kling. 8 9 Use EventHandler::setCapturingMouseEventsNode to ensure we get all the mouse events when the mouse is down. 10 11 * WebProcess/Plugins/PluginView.cpp: 12 (WebKit::PluginView::handleEvent): 13 1 14 2012-02-02 Claudio Saavedra <csaavedra@igalia.com> and Martin Robinson <mrobinson@igalia.com> 2 15 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
r103132 r106572 632 632 633 633 // FIXME: Clicking in a scroll bar should not change focus. 634 if (currentEvent->type() == WebEvent::MouseDown) 634 if (currentEvent->type() == WebEvent::MouseDown) { 635 635 focusPluginElement(); 636 frame()->eventHandler()->setCapturingMouseEventsNode(m_pluginElement.get()); 637 } else if (currentEvent->type() == WebEvent::MouseUp) 638 frame()->eventHandler()->setCapturingMouseEventsNode(0); 636 639 637 640 didHandleEvent = m_plugin->handleMouseEvent(static_cast<const WebMouseEvent&>(*currentEvent));
Note: See TracChangeset
for help on using the changeset viewer.