Chromium Code Reviews| Index: remoting/ios/client_keyboard.h |
| diff --git a/remoting/ios/client_keyboard.h b/remoting/ios/client_keyboard.h |
| index c84612204065472078d220121cbe926f8120876e..7f9dee4be10941b769abfc1da2bb4d7546b093bb 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,8 @@ |
| @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; |
|
Yuwei
2017/05/16 00:47:30
Have you considered just storing and using Keyboar
nicholss
2017/05/16 17:13:39
I have, there is a comment about that from last re
|
| @end |
| #endif // REMOTING_CLIENT_IOS_CLIENT_KEYBOARD_H_ |