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

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

Issue 200623003: Adopt "QuickScale" double-tap drag zoom code in the GestureProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add pinch coalesce test Created 6 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: ui/events/gesture_detection/gesture_config_helper_android.cc
diff --git a/ui/events/gesture_detection/gesture_config_helper_android.cc b/ui/events/gesture_detection/gesture_config_helper_android.cc
index db460683491bbb1c573c1cbe8dec531d60f62256..96aa7a6ad13fb14afab552806a934c7e16e7ab11 100644
--- a/ui/events/gesture_detection/gesture_config_helper_android.cc
+++ b/ui/events/gesture_detection/gesture_config_helper_android.cc
@@ -37,9 +37,7 @@ ScaleGestureDetector::Config DefaultScaleGestureDetectorConfig() {
ScaleGestureDetector::Config config;
config.gesture_detector_config = DefaultGestureDetectorConfig();
- // TODO(jdduke): Enable "quick scale" on the ScaleGestureDetector, and remove
- // corresponding double tap drag zoom code from GestureProvider, crbug/331092.
- config.quick_scale_enabled = false;
+ config.quick_scale_enabled = true;
config.min_scaling_touch_major =
ViewConfiguration::GetMinScalingTouchMajorInPixels();
config.min_scaling_span = ViewConfiguration::GetMinScalingSpanInPixels();

Powered by Google App Engine
This is Rietveld 408576698