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

Unified Diff: remoting/ios/client_gestures.h

Issue 2904703003: [CRD iOS] Add support for three-finger gestures (Closed)
Patch Set: Remove unused import 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/ios/app/host_view_controller.mm ('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 eac4f9f0dd6fafb1cd7067f2eaa055472b9a1655..55cd9a1df05e9249856cda0b69a153b6aa05d276 100644
--- a/remoting/ios/client_gestures.h
+++ b/remoting/ios/client_gestures.h
@@ -28,6 +28,11 @@ typedef NS_ENUM(NSInteger, MouseButton) {
RIGHT_BUTTON = 3,
};
+@protocol ClientGesturesDelegate<NSObject>
+- (void)keyboardShouldShow;
+- (void)keyboardShouldHide;
+@end
+
@interface ClientGestures : NSObject<UIGestureRecognizerDelegate> {
@private
UILongPressGestureRecognizer* _longPressRecognizer;
@@ -69,6 +74,8 @@ typedef NS_ENUM(NSInteger, MouseButton) {
// Show hidden menus. Swipe up for keyboard, swipe down for navigation menu
- (IBAction)threeFingerPanGestureTriggered:(UIPanGestureRecognizer*)sender;
+@property(weak, nonatomic) id<ClientGesturesDelegate> delegate;
+
@end
#endif // REMOTING_IOS_CLIENT_GESTURES_H_
« no previous file with comments | « remoting/ios/app/host_view_controller.mm ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698