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

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

Issue 868123002: Reset gesture detection upon page navigation for Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comment Created 5 years, 10 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 7aa1ef1d6cd6c4e299354cbb3aab5464cf0089ba..ae0ecf8d79dcd5ed27c74a9c0f3125cfb5d4ffc4 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -824,6 +824,10 @@ void RenderWidgetHostViewAndroid::ResetGestureDetection() {
gesture_provider_.ResetDetection();
}
+void RenderWidgetHostViewAndroid::OnDidNavigateMainFrameToNewPage() {
+ ResetGestureDetection();
+}
+
void RenderWidgetHostViewAndroid::SetDoubleTapSupportEnabled(bool enabled) {
gesture_provider_.SetDoubleTapSupportForPlatformEnabled(enabled);
}

Powered by Google App Engine
This is Rietveld 408576698