diff options
Diffstat (limited to 'Source/WebCore/page/FrameView.h')
-rw-r--r-- | Source/WebCore/page/FrameView.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/WebCore/page/FrameView.h b/Source/WebCore/page/FrameView.h index 8e79a3a..9af0552 100644 --- a/Source/WebCore/page/FrameView.h +++ b/Source/WebCore/page/FrameView.h @@ -138,6 +138,7 @@ public: void willMoveOffscreen(); void resetScrollbars(); + void resetScrollbarsAndClearContentsSize(); void detachCustomScrollbars(); void clear(); @@ -213,6 +214,7 @@ public: void setPaintBehavior(PaintBehavior); PaintBehavior paintBehavior() const; bool isPainting() const; + bool hasEverPainted() const { return m_lastPaintTime; } void setNodeToDraw(Node*); virtual void paintOverhangAreas(GraphicsContext*, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect); @@ -274,8 +276,7 @@ public: // FIXME: Remove this method once plugin loading is decoupled from layout. void flushAnyPendingPostLayoutTasks(); - void setIsRestoringFromBackForward(bool isRestoring) { m_isRestoringFromBackForward = isRestoring; } - bool isRestoringFromBackForward() const { return m_isRestoringFromBackForward; } + virtual bool shouldSuspendScrollAnimations() const; protected: virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect); @@ -322,6 +323,10 @@ private: virtual void getTickmarks(Vector<IntRect>&) const; virtual void scrollTo(const IntSize&); virtual void didCompleteRubberBand(const IntSize&) const; + virtual void scrollbarStyleChanged(); + + virtual void notifyPageThatContentAreaWillPaint() const; + virtual void disconnectFromPage() { m_page = 0; } void deferredRepaintTimerFired(Timer<FrameView>*); void doDeferredRepaints(); @@ -415,13 +420,13 @@ private: bool m_isVisuallyNonEmpty; bool m_firstVisuallyNonEmptyLayoutCallbackPending; - bool m_isRestoringFromBackForward; - RefPtr<Node> m_maintainScrollPositionAnchor; // Renderer to hold our custom scroll corner. RenderScrollbarPart* m_scrollCorner; + Page* m_page; + static double s_deferredRepaintDelay; static double s_initialDeferredRepaintDelayDuringLoading; static double s_maxDeferredRepaintDelayDuringLoading; |