[webkit-dev] Add custom event into Webkit

Tony Louaze t.louaze.ext at viaccess.com
Thu Apr 9 02:40:42 PDT 2009


Hi all,

I want to add a custom event into Webkit without modify and compile Webkit.
Is there an API or a way to do it ?

JS Example :
addEventListener( "VA", on_va_event, false );

function on_va_event( event )
{
//treatment of event
}

So, I need to register this custom event into DOM Webkit code and trigger
the event when my custom event occurs. How ?

On which object should I make the "addEventListener" : a custom JS object or
an existing DOM object (which one ?) ?

For now, I'm just interracting with JS context by using the Webkit.dll API.

Thank you
Tony
-- 
View this message in context: http://www.nabble.com/Add-custom-event-into-Webkit-tp22967581p22967581.html
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list