Changeset 116688 in webkit
- Timestamp:
- May 10, 2012 2:37:46 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r116687 r116688 1 2012-05-10 Adam Barth <abarth@webkit.org> 2 3 ScrollView::fixedVisibleContentRect should be public 4 https://bugs.webkit.org/show_bug.cgi?id=86147 5 6 Reviewed by Eric Seidel. 7 8 Some code in the WebKit layer of OS(ANDROID) uses this function. That 9 could will be upstreamed in a later patch. For now, this patch just 10 makes this function public so that we remove the diff to this file. 11 12 * platform/ScrollView.h: 13 (WebCore::ScrollView::fixedVisibleContentRect): 14 (WebCore::ScrollView::delegatesScrollingDidChange): 15 1 16 2012-05-10 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebCore/platform/ScrollView.h
r111139 r116688 146 146 virtual IntRect visibleContentRect(bool includeScrollbars = false) const; 147 147 virtual void setFixedVisibleContentRect(const IntRect& visibleContentRect) { m_fixedVisibleContentRect = visibleContentRect; } 148 IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; } 148 149 int visibleWidth() const { return visibleContentRect().width(); } 149 150 int visibleHeight() const { return visibleContentRect().height(); } … … 295 296 virtual void visibleContentsResized() = 0; 296 297 virtual void delegatesScrollingDidChange() { } 297 298 IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; }299 300 298 // These functions are used to create/destroy scrollbars. 301 299 void setHasHorizontalScrollbar(bool);
Note: See TracChangeset
for help on using the changeset viewer.