X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FWebCore%2Fplatform%2FScrollView.h;h=ac19f42b7fe2463e5d14b4f764788b9e3be0d716;hb=b96e33af77ac7d81a666d5aa202235b793aeeb21;hp=782ee26fcd773e5ad76f84cbc4111bf4b05fe747;hpb=2632619e54bc9f41ccea7c574710fe213e49212d;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/WebCore/platform/ScrollView.h b/Source/WebCore/platform/ScrollView.h index 782ee26..ac19f42 100755 --- a/Source/WebCore/platform/ScrollView.h +++ b/Source/WebCore/platform/ScrollView.h @@ -59,7 +59,7 @@ public: virtual void didCompleteRubberBand(const IntSize&) const; virtual void notifyPageThatContentAreaWillPaint() const; virtual bool isScrollCornerVisible() const; - virtual void scrollbarStyleChanged(); + virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate); // NOTE: This should only be called by the overriden setScrollOffset from ScrollableArea. virtual void scrollTo(const IntSize& newOffset); @@ -149,9 +149,9 @@ public: #else virtual IntRect visibleContentRect(bool includeScrollbars = false) const; #endif - void setFixedVisibleContentRect(const IntRect& visibleContentRect) { m_fixedVisibleContentRect = visibleContentRect; } - LayoutUnit visibleWidth() const { return visibleContentRect().width(); } - LayoutUnit visibleHeight() const { return visibleContentRect().height(); } + virtual void setFixedVisibleContentRect(const IntRect& visibleContentRect) { m_fixedVisibleContentRect = visibleContentRect; } + int visibleWidth() const { return visibleContentRect().width(); } + int visibleHeight() const { return visibleContentRect().height(); } // Functions for getting/setting the size webkit should use to layout the contents. By default this is the same as the visible // content size. Explicitly setting a layout size value will cause webkit to layout the contents using this size instead. @@ -335,7 +335,6 @@ protected: virtual void scrollContentsSlowPath(const IntRect& updateRect); void setScrollOrigin(const IntPoint&, bool updatePositionAtAll, bool updatePositionSynchronously); - IntPoint scrollOrigin() const { return m_scrollOrigin; } // Subclassed by FrameView to check the writing-mode of the document. virtual bool isVerticalDocument() const { return true; }