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

Unified Diff: Source/web/PageWidgetDelegate.cpp

Issue 46353003: Switch AutoscrollController to use animation system instead of timer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gclient
Patch Set: addresses review feedback Created 7 years, 1 month 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 | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageWidgetDelegate.cpp
diff --git a/Source/web/PageWidgetDelegate.cpp b/Source/web/PageWidgetDelegate.cpp
index 2f8aa6878ace1d5e098e3ac9bb12c67137f3b265..6bb514ba4dc8f62606bd384023ec42347dd9c6e6 100644
--- a/Source/web/PageWidgetDelegate.cpp
+++ b/Source/web/PageWidgetDelegate.cpp
@@ -34,6 +34,7 @@
#include "PageOverlayList.h"
#include "WebInputEvent.h"
#include "WebInputEventConversion.h"
+#include "core/page/AutoscrollController.h"
#include "core/page/EventHandler.h"
#include "core/frame/Frame.h"
#include "core/frame/FrameView.h"
@@ -59,6 +60,7 @@ void PageWidgetDelegate::animate(Page* page, double monotonicFrameBeginTime)
FrameView* view = mainFrameView(page);
if (!view)
return;
+ page->autoscrollController().animate(monotonicFrameBeginTime);
view->serviceScriptedAnimations(monotonicFrameBeginTime);
}
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698