Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: Source/WebCore/page/Page.cpp

Issue 13665002: Fold ScrollingCoordinatorChromium into ScrollingCoordinator and devirtualize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/page/Page.cpp
diff --git a/Source/WebCore/page/Page.cpp b/Source/WebCore/page/Page.cpp
index 84033a441963187f6425bbb8def5ba3a2f743648..7b913d1fe7486a71ff80e0bf7313d0fff5e96325 100644
--- a/Source/WebCore/page/Page.cpp
+++ b/Source/WebCore/page/Page.cpp
@@ -254,17 +254,6 @@ ScrollingCoordinator* Page::scrollingCoordinator()
return m_scrollingCoordinator.get();
}
-String Page::scrollingStateTreeAsText()
-{
- if (Document* document = m_mainFrame->document())
- document->updateLayout();
-
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- return scrollingCoordinator->scrollingStateTreeAsText();
-
- return String();
-}
-
String Page::mainThreadScrollingReasonsAsText()
{
if (Document* document = m_mainFrame->document())
@@ -823,34 +812,6 @@ void Page::setShouldSuppressScrollbarAnimations(bool suppressAnimations)
m_suppressScrollbarAnimations = suppressAnimations;
}
-bool Page::rubberBandsAtBottom()
-{
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- return scrollingCoordinator->rubberBandsAtBottom();
-
- return false;
-}
-
-void Page::setRubberBandsAtBottom(bool rubberBandsAtBottom)
-{
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- scrollingCoordinator->setRubberBandsAtBottom(rubberBandsAtBottom);
-}
-
-bool Page::rubberBandsAtTop()
-{
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- return scrollingCoordinator->rubberBandsAtTop();
-
- return false;
-}
-
-void Page::setRubberBandsAtTop(bool rubberBandsAtTop)
-{
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- scrollingCoordinator->setRubberBandsAtTop(rubberBandsAtTop);
-}
-
void Page::setPagination(const Pagination& pagination)
{
if (m_pagination == pagination)

Powered by Google App Engine
This is Rietveld 408576698