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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_base.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/browser/renderer_host/input/synthetic_gesture_target_base.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.h b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
index 8000ce2178d9e2c480f81337a362934283ffed42..a66a8d34cae3b14deb1c44764b07f80b792ca36f 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
@@ -50,7 +50,9 @@ class SyntheticGestureTargetBase : public SyntheticGestureTarget {
virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE;
- virtual int GetTouchSlopInDips() const OVERRIDE;
+ virtual float GetTouchSlopInDips() const OVERRIDE;
+
+ virtual float GetMinScalingSpanInDips() const OVERRIDE;
protected:
RenderWidgetHostImpl* render_widget_host() const { return host_; }

Powered by Google App Engine
This is Rietveld 408576698