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

Unified Diff: remoting/ios/client_keyboard.h

Issue 2868383003: [CRD iOS] Send key events to the session. (Closed)
Patch Set: Update based on feedback. 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/client_gestures.mm ('k') | remoting/ios/client_keyboard.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « remoting/ios/client_gestures.mm ('k') | remoting/ios/client_keyboard.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698