| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ | 5 #ifndef REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ |
| 6 #define REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ | 6 #define REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #include "remoting/protocol/connection_to_host.h" | 10 #include "remoting/protocol/connection_to_host.h" |
| 11 | 11 |
| 12 namespace remoting { |
| 13 |
| 14 class GestureInterpreter; |
| 15 |
| 16 } // namespace remoting |
| 17 |
| 12 @class HostInfo; | 18 @class HostInfo; |
| 13 @class GlDisplayHandler; | 19 @class GlDisplayHandler; |
| 14 | 20 |
| 15 // A list of notifications that will be sent out for different types of Remoting | 21 // A list of notifications that will be sent out for different types of Remoting |
| 16 // Client events. | 22 // Client events. |
| 17 // | 23 // |
| 18 extern NSString* const kHostSessionStatusChanged; | 24 extern NSString* const kHostSessionStatusChanged; |
| 19 extern NSString* const kHostSessionPinProvided; | 25 extern NSString* const kHostSessionPinProvided; |
| 20 | 26 |
| 21 // List of keys in user info from events. | 27 // List of keys in user info from events. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 scope:(NSString*)scope; | 58 scope:(NSString*)scope; |
| 53 | 59 |
| 54 - (void)setCapabilities:(NSString*)capabilities; | 60 - (void)setCapabilities:(NSString*)capabilities; |
| 55 | 61 |
| 56 - (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message; | 62 - (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message; |
| 57 | 63 |
| 58 // The display handler tied to the remoting client used to display the host. | 64 // The display handler tied to the remoting client used to display the host. |
| 59 @property(nonatomic, strong) GlDisplayHandler* displayHandler; | 65 @property(nonatomic, strong) GlDisplayHandler* displayHandler; |
| 60 // The host info used to make the remoting client connection. | 66 // The host info used to make the remoting client connection. |
| 61 @property(nonatomic, readonly) HostInfo* hostInfo; | 67 @property(nonatomic, readonly) HostInfo* hostInfo; |
| 68 // The gesture interpreter used to handle gestures. |
| 69 // This is valid only after the client has connected to the host. Always use |
| 70 // RemotingClient.gestureInterpreter instead of storing the pointer separately. |
| 71 @property(nonatomic, readonly) remoting::GestureInterpreter* gestureInterpreter; |
| 62 | 72 |
| 63 @end | 73 @end |
| 64 | 74 |
| 65 #endif // REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ | 75 #endif // REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ |
| OLD | NEW |