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

Unified Diff: ui/events/gesture_detection/gesture_configuration_android.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: ui/events/gesture_detection/gesture_configuration_android.cc
diff --git a/ui/events/gesture_detection/gesture_configuration_android.cc b/ui/events/gesture_detection/gesture_configuration_android.cc
index 4a81915da19dfb825b76bd74f44093f5718de1cd..c15b03b3888d6cfdefd1532b265e5cfded467cdb 100644
--- a/ui/events/gesture_detection/gesture_configuration_android.cc
+++ b/ui/events/gesture_detection/gesture_configuration_android.cc
@@ -33,7 +33,11 @@ class GestureConfigurationAndroid : public GestureConfiguration {
GestureConfigurationAndroid() : GestureConfiguration() {
set_double_tap_enabled(true);
set_double_tap_timeout_in_ms(ViewConfiguration::GetDoubleTapTimeoutInMs());
+#if defined(USE_AURA)
+ set_gesture_begin_end_types_enabled(true);
+#else
set_gesture_begin_end_types_enabled(false);
+#endif
set_long_press_time_in_ms(ViewConfiguration::GetLongPressTimeoutInMs());
set_max_distance_between_taps_for_double_tap(
ViewConfiguration::GetDoubleTapSlopInDips());
« content/public/browser/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698