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

Unified Diff: content/common/input/synthetic_pinch_gesture_params.h

Issue 293683002: Synthetic pinch gesture take scale factor as parameter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/common/input/synthetic_pinch_gesture_params.h
diff --git a/content/common/input/synthetic_pinch_gesture_params.h b/content/common/input/synthetic_pinch_gesture_params.h
index 215558d45ba84731e0a36eac50ee38c56f518688..393b0cc1c681710d48a842d6e4030cfd082aee55 100644
--- a/content/common/input/synthetic_pinch_gesture_params.h
+++ b/content/common/input/synthetic_pinch_gesture_params.h
@@ -21,8 +21,7 @@ struct CONTENT_EXPORT SyntheticPinchGestureParams
virtual GestureType GetGestureType() const OVERRIDE;
- bool zoom_in;
- int total_num_pixels_covered;
+ float scale_factor;
gfx::Point anchor;
int relative_pointer_speed_in_pixels_s;

Powered by Google App Engine
This is Rietveld 408576698