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

Unified Diff: content/browser/renderer_host/input/input_router_config_helper.cc

Issue 1053823002: [Android] Disable fling cancel filtering in the GestureEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup, working tests Created 5 years, 9 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/input/input_router_config_helper.cc
diff --git a/content/browser/renderer_host/input/input_router_config_helper.cc b/content/browser/renderer_host/input/input_router_config_helper.cc
index 3ed530f9ecab13794479af5aa801e7e8c3b48640..34c2a19218d79f3ad144e6b61751881e0f3f60b1 100644
--- a/content/browser/renderer_host/input/input_router_config_helper.cc
+++ b/content/browser/renderer_host/input/input_router_config_helper.cc
@@ -70,6 +70,12 @@ GestureEventQueue::Config GetGestureEventQueueConfig() {
base::TimeDelta::FromMilliseconds(
gfx::ViewConfiguration::GetLongPressTimeoutInMs());
+ // Android WebView may handle root layer flings itself, which prevents
+ // accurate fling cancel filtering (see |RenderWidgetCompositor::Initialize|).
+ // TODO(jdduke): Remove this exception when the WebView fling architecture
+ // is unified with the rest of Chrome, crbug.com/378984.
+ config.enable_fling_cancel_filtering = false;
+
return config;
}

Powered by Google App Engine
This is Rietveld 408576698