20 Aug
2008
20 Aug
'08
3:22 p.m.
in "WebCore/loader/ImageDocument.cpp", you have an example addEventListener(), which adds a class listener resulting in ImageListener::handleEvent() being called at line 334... .. is it as simple as that?? if i write some functions which make it possible to add event listeners to nodes (including e.g. document.window), is that basically it? the infrastructure already exists, in c-code (well... c++ anyway) for event callbacks?