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

Unified Diff: sky/engine/web/WebViewImpl.cpp

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/web/WebViewImpl.h ('k') | sky/examples/flights-app/app-scrollable.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.cpp
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
index 476cdef42e5a597eb0fb17aeb9b6db78737962d6..84e1b653a98a169ff83df7f1823f4e3dd7885bd9 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -52,7 +52,6 @@
#include "sky/engine/core/html/HTMLImportElement.h"
#include "sky/engine/core/loader/FrameLoader.h"
#include "sky/engine/core/loader/UniqueIdentifier.h"
-#include "sky/engine/core/page/AutoscrollController.h"
#include "sky/engine/core/page/EventHandler.h"
#include "sky/engine/core/page/FocusController.h"
#include "sky/engine/core/page/Page.h"
@@ -135,7 +134,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
, m_flingSourceDevice(false)
, m_showPaintRects(false)
, m_showDebugBorders(false)
- , m_showScrollBottleneckRects(false)
, m_baseBackgroundColor(Color::white)
, m_backgroundColorOverride(Color::transparent)
{
@@ -172,11 +170,6 @@ void WebViewImpl::setShowDebugBorders(bool show)
m_showDebugBorders = show;
}
-void WebViewImpl::setShowScrollBottleneckRects(bool show)
-{
- m_showScrollBottleneckRects = show;
-}
-
void WebViewImpl::acceptLanguagesChanged()
{
if (!page())
@@ -259,7 +252,6 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
RefPtr<FrameView> view = m_page->mainFrame()->view();
if (!view)
return;
- m_page->autoscrollController().animate(validFrameTime.lastFrameTimeMonotonic);
m_page->animator().serviceScriptedAnimations(validFrameTime.lastFrameTimeMonotonic);
}
« no previous file with comments | « sky/engine/web/WebViewImpl.h ('k') | sky/examples/flights-app/app-scrollable.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698