[webkit-dev] Thoughts on WebKit/WebCore refactoring

Maciej Stachowiak mjs at apple.com
Fri Dec 23 11:07:58 PST 2005

On Dec 23, 2005, at 8:24 AM, John Sullivan wrote:

> "DocumentController" seems like a problematic name because it's too  
> close to NSDocumentController, yet it's very much not parallel.  
> Safari has one NSDocumentController per window, but there's one  
> DocumentController per web frame.

True, but Document (in the DOM) and NSDocument are non-parallel in  
exactly the same way. The root of the problem is overloading of the  
AppKit and DOM senses of the term "document". I could call the  
WebCore one FrameController (or even just Frame) but I think that  
would be less clear about it's actual relationship to the document.


More information about the webkit-dev mailing list