Index: remoting/client/ios/client_gestures.h |
diff --git a/remoting/client/ios/client_gestures.h b/remoting/client/ios/client_gestures.h |
index aea0d3ca352c89b5349bd2175dc21508181ade3e..45cfff4b464b3123f074b0d103a2a1882b547865 100644 |
--- a/remoting/client/ios/client_gestures.h |
+++ b/remoting/client/ios/client_gestures.h |
@@ -10,6 +10,8 @@ |
#include "base/logging.h" |
#import "remoting/client/ios/key_input.h" |
+@class RemotingClient; |
+ |
typedef NS_ENUM(NSInteger, HostInputScheme) { |
// Mouse cursor is shown |
// Dragging or Panning, moves the mouse cursor |
@@ -42,10 +44,13 @@ typedef NS_ENUM(NSInteger, MouseButton) { |
UIScreenEdgePanGestureRecognizer* _edgeGesture; |
UISwipeGestureRecognizer* _swipeGesture; |
+ __weak UIView* _view; |
+ __weak RemotingClient* _client; |
+ |
HostInputScheme _inputScheme; |
} |
-- (instancetype)initWithView:(UIView*)view; |
+- (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client; |
// Zoom in/out |
- (IBAction)pinchGestureTriggered:(UIPinchGestureRecognizer*)sender; |