I think you're right, but why then do we pass around the prescontext everywhere in layout, instead of the frame manager?
Because oodles of stuff also live on the prescontext... :(
The other thing is that we really should be making all the nsIPresContext methods called within layout non-virtual.
You mean all the ones not called from outside layout? ;)
How about we make nsIPresContext be the got-it-all interface that frames pass around. Pour nsIFrameManager into it. Create nsIPresentation or something like that to contain just the "interface to the outside world" methods, make only the methods actually called from outside gklayout virtual, and have nsIPresContext extend it.
Sounds reasonable to me. Why name it nsIPresContext though, instead of nsPresContext? Just so you can QI to it?
-Boris _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
