[webkit-dev] Resize/layout code

Artem Ananiev Artem.Ananiev at Sun.COM
Thu Oct 18 17:23:04 PDT 2007


Hi,

I'm trying to understand WebKit code which is responsible for layouting the 
contents of Frame/FrameView. I see several methods including, but not limited 
to:

    FrameView::layout()
    FrameView::scheduleRelayout()
    Frame::forceLayout()
    Document::updateLayout()
    FrameView::setNeedsLayout()

What is the difference between all these methods? What method should be called 
when, for example. the toplevel frameview is manually resized by user? Is any 
method should be called for inner frames, if any?

I haven't found any documentation, either external or in source code, about 
these methods:(

Thanks,

Artem


More information about the webkit-dev mailing list