[webkit-dev] WebCore/platform standalone library

Darin Adler darin at apple.com
Tue Jan 10 21:28:50 PST 2017

> On Jan 10, 2017, at 9:24 PM, Myles C. Maxfield <mmaxfield at apple.com> wrote:
> We opted for WebCore to include files using “#include <PAL/Foo.h>” instead of just including Foo.h.

Will this work without ForwardingHeaders on macOS and iOS?

Given that WTF chose <wtf/xxx.h>, what is the reasoning for PAL choosing the all capital <PAL/xxx.h>?

> Similarly, we are putting symbols inside the PAL namespace, which is a child of the WebCore namespace. Therefore, inside WebCore, you use PAL things by specifying “PAL::Foo”.

Given that WebCore is built on top of PAL, it seems a little strange to put PAL “inside” WebCore, but I guess OK.

— Darin

More information about the webkit-dev mailing list