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

Unified Diff: remoting/client/ios/client_gestures.h

Issue 2856933007: [Remoting iOS] Basic viewport manipulation support (Closed)
Patch Set: Move the delegate getter/setting to the bottom Created 3 years, 8 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/ios/app/host_view_controller.mm ('k') | remoting/client/ios/client_gestures.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/client/ios/app/host_view_controller.mm ('k') | remoting/client/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698