Title: [116688] trunk/Source/WebCore
- Revision
- 116688
- Author
- [email protected]
- Date
- 2012-05-10 14:37:46 -0700 (Thu, 10 May 2012)
Log Message
ScrollView::fixedVisibleContentRect should be public
https://bugs.webkit.org/show_bug.cgi?id=86147
Reviewed by Eric Seidel.
Some code in the WebKit layer of OS(ANDROID) uses this function. That
could will be upstreamed in a later patch. For now, this patch just
makes this function public so that we remove the diff to this file.
* platform/ScrollView.h:
(WebCore::ScrollView::fixedVisibleContentRect):
(WebCore::ScrollView::delegatesScrollingDidChange):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (116687 => 116688)
--- trunk/Source/WebCore/ChangeLog 2012-05-10 21:21:00 UTC (rev 116687)
+++ trunk/Source/WebCore/ChangeLog 2012-05-10 21:37:46 UTC (rev 116688)
@@ -1,3 +1,18 @@
+2012-05-10 Adam Barth <[email protected]>
+
+ ScrollView::fixedVisibleContentRect should be public
+ https://bugs.webkit.org/show_bug.cgi?id=86147
+
+ Reviewed by Eric Seidel.
+
+ Some code in the WebKit layer of OS(ANDROID) uses this function. That
+ could will be upstreamed in a later patch. For now, this patch just
+ makes this function public so that we remove the diff to this file.
+
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::fixedVisibleContentRect):
+ (WebCore::ScrollView::delegatesScrollingDidChange):
+
2012-05-10 Anders Carlsson <[email protected]>
Rename the missing plug-in indicator to the unavailable plug-in indicator
Modified: trunk/Source/WebCore/platform/ScrollView.h (116687 => 116688)
--- trunk/Source/WebCore/platform/ScrollView.h 2012-05-10 21:21:00 UTC (rev 116687)
+++ trunk/Source/WebCore/platform/ScrollView.h 2012-05-10 21:37:46 UTC (rev 116688)
@@ -145,6 +145,7 @@
// which usually will happen when panning, pinching and rotation ends, or when scale or position are changed manually.
virtual IntRect visibleContentRect(bool includeScrollbars = false) const;
virtual void setFixedVisibleContentRect(const IntRect& visibleContentRect) { m_fixedVisibleContentRect = visibleContentRect; }
+ IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; }
int visibleWidth() const { return visibleContentRect().width(); }
int visibleHeight() const { return visibleContentRect().height(); }
@@ -294,9 +295,6 @@
virtual void visibleContentsResized() = 0;
virtual void delegatesScrollingDidChange() { }
-
- IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; }
-
// These functions are used to create/destroy scrollbars.
void setHasHorizontalScrollbar(bool);
void setHasVerticalScrollbar(bool);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes