On 2010-02-06 at 16:38:50 [+0100], Stephan Assmus <[email protected]> 
wrote:
> assuming I want to open a new browser window when the user clicks a link 
> with the middle mouse button... how would this be propagated to the 
> FrameLoaderClient? I can't figure it out from looking at the Qt port. 
> Grepping the WebCore sources, MiddleButton is only used for optional 
> panning support. Will I have to come up with some hacks to remember what 
> mouse button the user clicked in the browser and somehow apply that 
> knowledge in the FrameLoaderClient implementation? That seems risky to 
> me, since there doesn't appear to be a clean way to match a policy 
> decision to a specific mouse event (it's asynchronous on Haiku).

Sorry for the noise, should have looked more closely at what's available. 
NavigationAction has event(), which tells me everything I need to know.

Best regards,
-Stephan
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to