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

Unified Diff: remoting/client/ios/session/remoting_client.h

Issue 2856933007: [Remoting iOS] Basic viewport manipulation support (Closed)
Patch Set: Resolve Feedbacks 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
Index: remoting/client/ios/session/remoting_client.h
diff --git a/remoting/client/ios/session/remoting_client.h b/remoting/client/ios/session/remoting_client.h
index 900a346e70df716789d807519ed1b18dad3b2330..a879bf6f85a069690b31989d263f250eec933f5e 100644
--- a/remoting/client/ios/session/remoting_client.h
+++ b/remoting/client/ios/session/remoting_client.h
@@ -9,6 +9,12 @@
#include "remoting/protocol/connection_to_host.h"
+namespace remoting {
+
+class GestureInterpreter;
+
+} // namespace remoting
+
@class HostInfo;
@class GlDisplayHandler;
@@ -59,6 +65,10 @@ extern NSString* const kHostSessionPin;
@property(nonatomic, strong) GlDisplayHandler* displayHandler;
// The host info used to make the remoting client connection.
@property(nonatomic, readonly) HostInfo* hostInfo;
+// The gesture interpreter used to handle gestures.
+// This is valid only after the client has connected to the host. Always use
+// RemotingClient.gestureInterpreter instead of storing the pointer separately.
+@property(nonatomic, readonly) remoting::GestureInterpreter* gestureInterpreter;
@end

Powered by Google App Engine
This is Rietveld 408576698