[Webkit-unassigned] [Bug 43097] Make all objects in the WebKit2 API inherit from a single base class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 13:04:52 PDT 2010


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





--- Comment #4 from Sam Weinig <sam at webkit.org>  2010-07-28 13:04:52 PST ---
(In reply to comment #3)
> (From update of attachment 62783 [details])
> Patch says what it does, but not why.
> 
> Why is inheriting from a single base class better?

The intent is to allow for a CF-style base type (CFTypeRef) so that our message passing API can be defined as something like WKContextPostMessageToInjectedBundle(WKStringRef name, WKTypeRef message);

Then you could send a message which is either a WKStringRef or a WKArrayRef or a WKPageRef event.

-- 
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