Index: remoting/ios/client_keyboard.h |
diff --git a/remoting/ios/client_keyboard.h b/remoting/ios/client_keyboard.h |
index c84612204065472078d220121cbe926f8120876e..8f7761cf25667c3e0a46954b6f708e03c6642a70 100644 |
--- a/remoting/ios/client_keyboard.h |
+++ b/remoting/ios/client_keyboard.h |
@@ -8,6 +8,11 @@ |
#import <Foundation/Foundation.h> |
#import <UIKit/UIKit.h> |
+@protocol ClientKeyboardDelegate<NSObject> |
+- (void)clientKeyboardShouldSend:(NSString*)text; |
+- (void)clientKeyboardShouldDelete; |
+@end |
+ |
@interface ClientKeyboard : UIView<UIKeyInput, UITextInputTraits> |
@property(nonatomic) UIKeyboardAppearance keyboardAppearance; |
@@ -16,6 +21,9 @@ |
@property(nonatomic) UITextAutocorrectionType autocorrectionType; |
@property(nonatomic) UITextSpellCheckingType spellCheckingType; |
+// This delegate is used to call back to handler key entry. |
+@property(weak, nonatomic) id<ClientKeyboardDelegate> delegate; |
+ |
@end |
#endif // REMOTING_CLIENT_IOS_CLIENT_KEYBOARD_H_ |