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

Unified Diff: remoting/ios/client_gestures.h

Issue 2882653004: [CRD iOS] Injecting scroll events w/ fling animation (Closed)
Patch Set: Rebase 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/ui/input_strategy.h ('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 cca9d826ad0f2c6fd78b605ee4bf8e51dc98abae..eac4f9f0dd6fafb1cd7067f2eaa055472b9a1655 100644
--- a/remoting/ios/client_gestures.h
+++ b/remoting/ios/client_gestures.h
@@ -33,6 +33,7 @@ typedef NS_ENUM(NSInteger, MouseButton) {
UILongPressGestureRecognizer* _longPressRecognizer;
UIPanGestureRecognizer* _panRecognizer;
UIPanGestureRecognizer* _flingRecognizer;
+ UIPanGestureRecognizer* _scrollRecognizer;
UIPanGestureRecognizer* _threeFingerPanRecognizer;
UIPinchGestureRecognizer* _pinchRecognizer;
UITapGestureRecognizer* _singleTapRecognizer;
@@ -57,6 +58,8 @@ typedef NS_ENUM(NSInteger, MouseButton) {
- (IBAction)panGestureTriggered:(UIPanGestureRecognizer*)sender;
// Handle one finger fling gesture
- (IBAction)flingGestureTriggered:(UIPanGestureRecognizer*)sender;
+// Handle two finger scroll gesture
+- (IBAction)scrollGestureTriggered:(UIPanGestureRecognizer*)sender;
// Right mouse click and drag, moves cursor
- (IBAction)longPressGestureTriggered:(UILongPressGestureRecognizer*)sender;
// Right mouse click
« no previous file with comments | « remoting/client/ui/input_strategy.h ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698