[webkit-dev] Best practices for USE(X) vs. ENABLE(X)?

Darin Adler darin at apple.com
Wed Nov 12 13:56:31 PST 2008


On Nov 12, 2008, at 1:35 PM, Adam Roben wrote:

> Recently I've been wondering when it's appropriate to use USE(X) vs.  
> ENABLE(X), for a given feature/capability X. My impression is that  
> we currently use ENABLE(X) far more than USE(X). How does one decide  
> which one to choose?

I believe USE is for an underlying platform capability, deciding  
whether to use it or not.

And ENABLE is for a WebKit capability, deciding whether to include it  
or not.

     -- Darin



More information about the webkit-dev mailing list