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

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

Issue 298823006: [Aura] Reduce frequency of PinchUpdate events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Jared's comments. Created 6 years, 7 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/gesture_detection/scale_gesture_detector.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/scale_gesture_detector.cc
diff --git a/ui/events/gesture_detection/scale_gesture_detector.cc b/ui/events/gesture_detection/scale_gesture_detector.cc
index f9e091bc6ce55204704cf144593c114f7050ca51..232a70e7d0cc1ac5ae48d65871bb3be197116f1d 100644
--- a/ui/events/gesture_detection/scale_gesture_detector.cc
+++ b/ui/events/gesture_detection/scale_gesture_detector.cc
@@ -33,7 +33,9 @@ const float kScaleFactor = .5f;
ScaleGestureDetector::Config::Config()
: min_scaling_touch_major(48),
min_scaling_span(200),
- quick_scale_enabled(true) {}
+ quick_scale_enabled(true),
+ min_pinch_update_span_delta(0) {
+}
ScaleGestureDetector::Config::~Config() {}
« no previous file with comments | « ui/events/gesture_detection/scale_gesture_detector.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698