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

Unified Diff: remoting/ios/client_gestures.h

Issue 2869723007: [CRD iOS] Viewport fling animation (Closed)
Patch Set: Merge branch 'master' into feat-fling-animation Created 3 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 | « remoting/client/gesture_interpreter.cc ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/client/gesture_interpreter.cc ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698