The platform directory contains a lot more than just platform-specific
files.  It's the platform upon which WebCore is built.  For example,
KURL is in platform even though it's shared by all the ports.  I think
the main consideration for whether to put things in platform relate to
the dependencies.  For example, platform doesn't depend on the rest of
WebCore.

As for whether audio should be a top-level concept, that might make
sense.  It seems similar to notifications and storage, which are
top-level concepts.

Adam


On Tue, Mar 30, 2010 at 5:04 PM, Chris Rogers <[email protected]> wrote:
> I'm interested in people's opinions on where I should put my audio code in
> WebKit.
> Up to this point I've been assuming I would put my code into:
>     WebCore/platform/audio
> But, on further reflection I realize that the majority of source files are
> cross-platform engine code so perhaps it would make more sense to put the
> cross-platform parts into:
>     WebCore/audio
> and the platform-specific parts into:
>     WebCore/platform/audio
> Does this seem reasonable?
> Cheers,
> Chris
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to