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

Unified Diff: sky/engine/platform/scroll/ScrollableArea.cpp

Issue 770223002: Remove lots of code from the WebWidget/WebView/WebFrame layer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: sky/engine/platform/scroll/ScrollableArea.cpp
diff --git a/sky/engine/platform/scroll/ScrollableArea.cpp b/sky/engine/platform/scroll/ScrollableArea.cpp
index 28373fc00244be73191558a28d39914737ad9145..dff4cd9342f2975d5253025004aa0e1cbdb14ef0 100644
--- a/sky/engine/platform/scroll/ScrollableArea.cpp
+++ b/sky/engine/platform/scroll/ScrollableArea.cpp
@@ -73,7 +73,6 @@ int ScrollableArea::maxOverlapBetweenPages()
ScrollableArea::ScrollableArea()
: m_constrainsScrollingToContentEdge(true)
- , m_inLiveResize(false)
, m_verticalScrollElasticity(ScrollElasticityNone)
, m_horizontalScrollElasticity(ScrollElasticityNone)
, m_scrollbarOverlayStyle(ScrollbarOverlayStyleDefault)
@@ -227,24 +226,6 @@ void ScrollableArea::setScrollOffsetFromAnimation(const IntPoint& offset)
scrollPositionChanged(offset);
}
-void ScrollableArea::willStartLiveResize()
-{
- if (m_inLiveResize)
- return;
- m_inLiveResize = true;
- if (ScrollAnimator* scrollAnimator = existingScrollAnimator())
- scrollAnimator->willStartLiveResize();
-}
-
-void ScrollableArea::willEndLiveResize()
-{
- if (!m_inLiveResize)
- return;
- m_inLiveResize = false;
- if (ScrollAnimator* scrollAnimator = existingScrollAnimator())
- scrollAnimator->willEndLiveResize();
-}
-
void ScrollableArea::mouseEnteredContentArea() const
{
if (ScrollAnimator* scrollAnimator = existingScrollAnimator())

Powered by Google App Engine
This is Rietveld 408576698