Re: [webkit-dev] Cleaning up Document.* (was DeviceOrientation/Motion on Document rather than Page)

2010-08-17 Thread Eric Seidel
That's not always true, is it? Window at least used to have its API spread across many classes (including frame, and at least 2 window classes). Document's API is a beast. http://trac.webkit.org/browser/trunk/WebCore/dom/Document.idl We can call the thing which has all the Document DOM API doc

Re: [webkit-dev] Cleaning up Document.* (was DeviceOrientation/Motion on Document rather than Page)

2010-08-17 Thread Maciej Stachowiak
On Aug 17, 2010, at 9:35 AM, Eric Seidel wrote: > My theory on re-organizing document is we do the same thing we've been > doing to FrameLoader. Just start lopping off chunks. > > My understanding is Adam was attacking FrameLoader by just grabbing a > set of seemingly related member variables,

Re: [webkit-dev] Cleaning up Document.* (was DeviceOrientation/Motion on Document rather than Page)

2010-08-17 Thread Eric Seidel
My theory on re-organizing document is we do the same thing we've been doing to FrameLoader. Just start lopping off chunks. My understanding is Adam was attacking FrameLoader by just grabbing a set of seemingly related member variables, throwing them in a separate class (in the same file) and hit