[webkit-dev] Simplifying "hub" classes (was Cleaning up directories in WebCore)

Adam Roben aroben at apple.com
Sat Nov 19 09:23:39 PST 2011

On Nov 18, 2011, at 5:55 PM, Adam Barth wrote:

> Really, SQL_DATABASE just wants to store some state per
> ScriptExecutionContext.  It seems like there should be a way to do
> that without making a mess of ScriptExecutionContext.
> IMHO, we want something like the C++ equivalent of Objective-C
> categories.  I'm not sure how best to achieve that.

Note that ObjC categories don't allow you to add extra state (i.e., ivars) to classes. They only allow you to add extra methods.


More information about the webkit-dev mailing list