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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 15029006: Make it possible for the scroll offset delegate to intercept fling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reactivate the patch! Created 7 years, 5 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: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 4c94d1feaf17a78087a0ea62de6f2b061851e288..d17288de37edfffff2cdc92041ad62115b907b45 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -57,6 +57,8 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// WebView uses the Android system's scrollbars and overscroll glow.
cl->AppendSwitch(switches::kHideScrollbars);
cl->AppendSwitch(switches::kDisableOverscrollEdgeEffect);
+ // WebView handles fling gestures Java-side.
+ cl->AppendSwitch(switches::kIgnoreRootLayerFlings);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698