[webkit-help] Windows Webkit Build - EventListeners

Adam Roben aroben at apple.com
Fri Jan 6 10:10:23 PST 2012

On Jan 6, 2012, at 12:59 PM, Mike Fairlamb wrote:

> Successfully built and using Windows Webkit build in our application. I am 
> trying to implement Event Listeners in C++ to handler the mouse clicks 
> events from the loaded page.
> I have implemented the SimpleEventListener from WinLauncher and get the 
> target element when the mouse is click on the page. 
> In the handler, I then try and determine what element was click by using 
> the code below:
>   CComPtr<IDOMEventTarget> target = 0;
>   HRESULT hr = evt->target(&target);
> The return value is E_NOTIMPL, not implemented. 
> This is not being implemented (obviously ) or I have not built webkit 
> correctly and have missed out a chunk of code.
> Can anyone shred some light on this problem or do I just keep digging!!

Many parts of the WebKit COM API are unimplemented. We've basically only implemented what's needed by Safari and our test tools. Feel free to submit a patch to implement the parts you're interested in!


More information about the webkit-help mailing list