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

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

Issue 1405773004: Aura on Android: Making events work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_idle
Patch Set: Getting rid of GetModifiersFromKeyState in events_default.cc 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
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/ozone/events_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73c0cf2f4014317ac8dc36c3ad1345d01befa3f3..382889c46ef186bc34e60664aecdd69532aa7327 100644
--- a/ui/events/gesture_detection/gesture_configuration_android.cc
+++ b/ui/events/gesture_detection/gesture_configuration_android.cc
@@ -37,7 +37,11 @@ class GestureConfigurationAndroid : public GestureConfiguration {
// TODO(jdduke): Enable this on Android M after the implicit conflict with
// stylus selection is resolved.
set_stylus_scale_enabled(false);
+#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());
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/ozone/events_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698