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

Unified Diff: remoting/ios/client_gestures.h

Issue 2904703003: [CRD iOS] Add support for three-finger gestures (Closed)
Patch Set: 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..2ec4ba16224dcf16bfb16cc2db43ab88b7dcc26a 100644
--- a/remoting/ios/client_gestures.h
+++ b/remoting/ios/client_gestures.h
@@ -8,6 +8,7 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
+@class HostViewController;
@class RemotingClient;
typedef NS_ENUM(NSInteger, HostInputScheme) {
@@ -44,11 +45,12 @@ typedef NS_ENUM(NSInteger, MouseButton) {
__weak UIView* _view;
__weak RemotingClient* _client;
+ __weak HostViewController* _controller;
HostInputScheme _inputScheme;
}
-- (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client;
+- (instancetype)initWithHostViewController:(HostViewController*)controller;
nicholss 2017/05/24 14:36:49 I don't think this is a good pattern in Obj-C, you
Yuwei 2017/05/24 19:52:09 Done.
// Zoom in/out
- (IBAction)pinchGestureTriggered:(UIPinchGestureRecognizer*)sender;
« 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