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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 131373004: Let the browser know the end of fling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DidStartFlinging(); Don't bother ContentViewGestureHandler and GestureEventFilter # Created 6 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
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 881bf814988c69dda98a2539a3802693b28d6461..3316959214639a7246e571c8c8ef0014947588fa 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -1266,6 +1266,16 @@ void RenderWidgetHostViewAndroid::OnOverscrolled(
}
}
+void RenderWidgetHostViewAndroid::DidStartFlinging() {
+ if (content_view_core_)
+ content_view_core_->DidStartFlinging();
+}
+
+void RenderWidgetHostViewAndroid::DidStopFlinging() {
+ if (content_view_core_)
+ content_view_core_->DidStopFlinging();
+}
+
void RenderWidgetHostViewAndroid::SetContentViewCore(
ContentViewCoreImpl* content_view_core) {
RunAckCallbacks();

Powered by Google App Engine
This is Rietveld 408576698