Adam
On Tue, Jun 21, 2011 at 3:48 PM, John Abd-El-Malek
<jabde...@google.com> wrote:
> I have added a diagram, plus a brain dump of why content exists, and what
> belongs in it,
> at https://sites.google.com/a/chromium.org/dev/developers/content-module
> On Mon, Jun 13, 2011 at 11:29 AM, Ben Goodger (Google) <b...@chromium.org>
> wrote:
>>
>> On Thu, Jun 9, 2011 at 11:34 PM, Paweł Hajdan, Jr.
>> <phajd...@chromium.org> wrote:
>>>
>>> Ouch, that's bad (it seems that the authors didn't know at all why we
>>> have DEPS files). Maybe we should add some comment to each DEPS file why it
>>> is there, possibly with a link to some article with more details?
>>
>> It'd be great if we could have a diagram showing a generalization of the
>> layering of Chrome code. It would be simple enough to fit in one screenful
>> at the start, but you could then click to zoom in and see more detail on
>> dependencies, with explanations potentially of what the roles were.
>> I understand documentation is usually best when it lives in the code, but
>> I suspect at this point a sizable chunk of the people on the project don't
>> even understand some of the bigger picture conceptual layers in Chrome, and
>> this is the kind of thing best served by a meta diagram.
>>
>> -Ben
>
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
>
-- Dirk
-> chrome
-> content
-> platform
-> base
Adam
On Tue, Jun 21, 2011 at 4:04 PM, Dirk Pranke <dpr...@chromium.org> wrote:
Adam
It seems like the folder has too much different stuff in it, which
might be profitable to separate:
Our implementations of some parts of WebCore/platform:
appcache/
blob/
database/
chromeos/
fileapi/
gpu/
=> Move to src/webcore_platform/
Our WebKit client:
glue/
build/ <-- Just one file
quota/ <-- Not 100% sure about this one
=> Move to src/webkit_client/
plugins/ <-- Note sure why this is separate from glue, but if we
want to keep it separate, we could move it to src/plugins/
Embeddings of WebKit for testing (plus supporting infrastructure):
default_plugin/
mocks/
support/
tools/
=> Move to src/webkit_client/test/
Unsure:
extensions/v8/
(I would also split up the WebKit API into two pieces, the platform
and the client piece, but that's another topic.)
> One idea would be to recast src/webkit/ as a subdirectory of src/content/,
> since some portions of it could be viewed as implementation details of
> src/content/. The main reason NOT to do that is because src/webkit/ also
> contains the things you need to support DRT, whereas src/content/ has way
> more than what DRT requires.
Right, if we did that, we'd lose the uniprocess embedding layer.
chrome -> The specific multi-process browser we ship.
content -> A multi-process browser.
webkit_client -> A uniprocess embedding of WebKit.
third_party/WebKit -> A library for rendering web pages.
webcore_platform -> A library used by third_party/WebKit
base -> (etc)
On Wed, Jun 22, 2011 at 10:35 AM, Darin Fisher <da...@google.com> wrote:It seems like the folder has too much different stuff in it, which
> Yeah, I contemplated that name a bunch. It just feels a bit too inclusive /
> over-arching. Most of what it is src/webkit/ is really just supporting
> material.
might be profitable to separate:
Our implementations of some parts of WebCore/platform:
appcache/
blob/
database/
chromeos/
fileapi/
gpu/
=> Move to src/webcore_platform/
Our WebKit client:
glue/
build/ <-- Just one file
quota/ <-- Not 100% sure about this one
=> Move to src/webkit_client/
plugins/ <-- Note sure why this is separate from glue, but if we
want to keep it separate, we could move it to src/plugins/
Embeddings of WebKit for testing (plus supporting infrastructure):
default_plugin/
mocks/
support/
tools/
=> Move to src/webkit_client/test/
Unsure:
extensions/v8/
(I would also split up the WebKit API into two pieces, the platform
and the client piece, but that's another topic.)
Adam
Adam
It would be nice if we could put the scripts somewhere more obvious,
maybe src/tools? They're only wrappers around the scripts in the
webkit repo anyway.
-- Dirk