Chromium Code Reviews| Index: android_webview/native/aw_contents.cc |
| diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
| index d92640407a20a6f15e71cc9ae7029ef0c4c8b494..ac0357e2f8cfeec42c0137ced7cf791101f664c2 100644 |
| --- a/android_webview/native/aw_contents.cc |
| +++ b/android_webview/native/aw_contents.cc |
| @@ -67,6 +67,7 @@ |
| #include "net/base/auth.h" |
| #include "net/cert/x509_certificate.h" |
| #include "third_party/skia/include/core/SkPicture.h" |
| +#include "ui/events/gesture_detection/gesture_configuration.h" |
| #include "ui/gfx/android/java_bitmap.h" |
| #include "ui/gfx/geometry/rect_f.h" |
| #include "ui/gfx/geometry/size.h" |
| @@ -305,6 +306,8 @@ void AwContents::Destroy(JNIEnv* env, jobject obj) { |
| } |
| static jlong Init(JNIEnv* env, jclass, jobject browser_context) { |
| + ui::GestureConfiguration::GetInstance() |
|
jdduke (slow)
2015/07/31 21:10:31
What about doing it in AwMainDelegate::BasicStartu
hush (inactive)
2015/07/31 21:48:24
ah yes. That works too. I don't have strong prefer
|
| + ->set_fling_touchscreen_tap_suppression_enabled(false); |
| // TODO(joth): Use |browser_context| to get the native BrowserContext, rather |
| // than hard-code the default instance lookup here. |
| scoped_ptr<WebContents> web_contents(content::WebContents::Create( |