leafmuncher wrote:
I'm wondering how (if?) WebKit passes mouse move events down to Plug-ins.
WebNetscapePluginEventHandlerCarbon::mouseDragged and
WebNetscapePluginEventHandlerCarbon::mouseMoved (Carbon seems to be the
event handler that gets used) are No-ops, and I see references to
GetMouse/GetGlobalMouse in the Silverlight and Flash plug-ins.
Is it really the case that WebKit/OS X browsers don't pass these events to
plug-ins, and that the plug-ins are forced to get the mouse location from
the OS?
As far as I know, mouse moving is handled by sending continuous
nullEvents to the plugin, through a timer running in the plugin host.
The 'where' field of the event record should have the mouse position.
Tor Arne
PS: Nice work on Plex ;)
--
Tor Arne Vestbø, Software Engineer
Qt Software, Nokia, Oslo, Norway
http://www.trolltech.com/
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev