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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 10823239: Upstream android's fling animator. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 4 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 | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitplatformsupport_impl.cc
===================================================================
--- webkit/glue/webkitplatformsupport_impl.cc (revision 151310)
+++ webkit/glue/webkitplatformsupport_impl.cc (working copy)
@@ -48,6 +48,10 @@
#include "webkit/plugins/npapi/plugin_instance.h"
#include "webkit/plugins/webplugininfo.h"
+#if defined(OS_ANDROID)
+#include "webkit/glue/fling_animator_impl_android.h"
+#endif
+
#if defined(OS_LINUX)
#include "v8/include/v8.h"
#endif
@@ -789,4 +793,10 @@
worker_task_runner->OnWorkerRunLoopStopped(runLoop);
}
+#if defined(OS_ANDROID)
+WebKit::WebFlingAnimator* WebKitPlatformSupportImpl::createFlingAnimator() {
+ return new FlingAnimatorImpl();
+}
+#endif
+
} // namespace webkit_glue
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698