Index: remoting/ios/client_gestures.h |
diff --git a/remoting/ios/client_gestures.h b/remoting/ios/client_gestures.h |
index 132302e269fb26d85dd361eb9220d4838510db3c..455609ed704570d3b7f818e9b830f99655ce4617 100644 |
--- a/remoting/ios/client_gestures.h |
+++ b/remoting/ios/client_gestures.h |
@@ -36,6 +36,7 @@ typedef NS_ENUM(NSInteger, MouseButton) { |
@private |
UILongPressGestureRecognizer* _longPressRecognizer; |
UIPanGestureRecognizer* _panRecognizer; |
+ UIPanGestureRecognizer* _flingRecognizer; |
UIPanGestureRecognizer* _threeFingerPanRecognizer; |
UIPinchGestureRecognizer* _pinchRecognizer; |
UITapGestureRecognizer* _singleTapRecognizer; |
@@ -58,6 +59,8 @@ typedef NS_ENUM(NSInteger, MouseButton) { |
- (IBAction)tapGestureTriggered:(UITapGestureRecognizer*)sender; |
// Scroll the view in 2d |
- (IBAction)panGestureTriggered:(UIPanGestureRecognizer*)sender; |
+// Handle one finger fling gesture |
+- (IBAction)flingGestureTriggered:(UIPanGestureRecognizer*)sender; |
// Right mouse click and drag, moves cursor |
- (IBAction)longPressGestureTriggered:(UILongPressGestureRecognizer*)sender; |
// Right mouse click |