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

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

Issue 409563004: Fix gesture debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually add the changes... Created 6 years, 5 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/scale_gesture_detector.h
diff --git a/ui/events/gesture_detection/scale_gesture_detector.h b/ui/events/gesture_detection/scale_gesture_detector.h
index 563414c41641bcebd60be629900bcd8843b08cde..7f647c0684cceae31232928ab811f0003d7a87a5 100644
--- a/ui/events/gesture_detection/scale_gesture_detector.h
+++ b/ui/events/gesture_detection/scale_gesture_detector.h
@@ -31,10 +31,6 @@ class ScaleGestureDetector : public GestureDetector::SimpleGestureListener {
// Minimum span needed to initiate a scaling gesture (in dips).
float min_scaling_span;
- // Whether to use touch major values when determining the scale span.
- // Defaults to false.
- bool use_touch_major_in_span;
-
// Whether double-tap drag scaling is enabled.
bool quick_scale_enabled;
@@ -140,7 +136,6 @@ class ScaleGestureDetector : public GestureDetector::SimpleGestureListener {
float min_span_;
// Bounds for recently seen values.
- bool use_touch_major_in_span_;
float touch_upper_;
float touch_lower_;
float touch_history_last_accepted_;

Powered by Google App Engine
This is Rietveld 408576698