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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 1064ff181d0a0302d675ebc2729b0ed04df58c6c..270453d738c6371065504291732aa92a9367003d 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2653,6 +2653,10 @@ void RenderWidgetHostViewAura::DelegatedFrameHostUpdateVSyncParameters(
host_->UpdateVSyncParameters(timebase, interval);
}
+void RenderWidgetHostViewAura::OnDidNavigateMainFrameToNewPage() {
+ ui::GestureRecognizer::Get()->CancelActiveTouches(window_);
+}
+
////////////////////////////////////////////////////////////////////////////////
// RenderWidgetHostViewBase, public:

Powered by Google App Engine
This is Rietveld 408576698