Commit 500aca6d authored by sfalken's avatar sfalken

2006-10-02 Steve Falkenburg <sfalken@apple.com>

        Reviewed by Hyatt.

        Added method to find out whether a layout has occurred.

        * page/FrameView.cpp:
        (WebCore::FrameView::didFirstLayout):
        * page/FrameView.h:




git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e156faa7
2006-10-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Hyatt.
Added method to find out whether a layout has occurred.
* page/FrameView.cpp:
(WebCore::FrameView::didFirstLayout):
* page/FrameView.h:
2006-10-02 Beth Dakin <bdakin@apple.com> 2006-10-02 Beth Dakin <bdakin@apple.com>
Reviewed by Darin. Reviewed by Darin.
...@@ -263,6 +263,11 @@ void FrameView::clear() ...@@ -263,6 +263,11 @@ void FrameView::clear()
suppressScrollBars(true); suppressScrollBars(true);
} }
bool FrameView::didFirstLayout() const
{
return !d->firstLayout;
}
void FrameView::initScrollBars() void FrameView::initScrollBars()
{ {
if (!d->needToInitScrollBars) if (!d->needToInitScrollBars)
......
...@@ -130,6 +130,8 @@ public: ...@@ -130,6 +130,8 @@ public:
void clear(); void clear();
bool didFirstLayout() const;
public: public:
void clearPart(); void clearPart();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment