Re: [webkit-dev] Mouse move/drag events to plug-ins on OS X

2009-01-21 Thread leafmuncher

> 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.

Interesting, I'll give this a try.

> PS: Nice work on Plex ;)

Thanks :-) I was trying to go incognito, but you spotted me...
-- 
View this message in context: 
http://www.nabble.com/Mouse-move-drag-events-to-plug-ins-on-OS-X-tp21580060p21590206.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Mouse move/drag events to plug-ins on OS X

2009-01-21 Thread Tor Arne Vestbø

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
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Mouse move/drag events to plug-ins on OS X

2009-01-21 Thread leafmuncher

Hi, 

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? 

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Mouse-move-drag-events-to-plug-ins-on-OS-X-tp21580060p21580060.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev