[Webkit-unassigned] [Bug 77835] [GObject bindings] EventListeners as first-class GObjects: WebKitDOMEventListener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 20 03:07:46 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=77835





--- Comment #53 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-10-20 03:06:30 PST ---
I think we can try to fix this without breaking the api/abi until we can change the api.

 - Add new methods, for example register/unregister_event_listener that receives the proper WebKitDOMEventListenerCallback + GDestroyNotify.
 - Modify the virtual functions of WebKitDOMEventTarget interface, since nobody outside WebKitDOM API should use the vfuncs directly even if they are public. We don't have padding to add new vfuncs.
 - Deprecate all the dispatch_event methods that are public, everybody should use the interface API, unless there's a good reason for those to the be public.

I don't know if there's a way for the bindings to skip the add/remove ones and expose the register/unregisiter as add/remove to follow the DOM spec. Once we can change the api/abi we can just rename the register/unregister methods as add/remove to follow the DOM spec.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list