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

Unified Diff: remoting/client/native_device_keymap.h

Issue 2868383003: [CRD iOS] Send key events to the session. (Closed)
Patch Set: Adding backspace support to the keyboard. 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
Index: remoting/client/native_device_keymap.h
diff --git a/remoting/client/native_device_keymap.h b/remoting/client/native_device_keymap.h
index f1915cef6827e7026914bbd04c27fb844f04cd2e..0584736277ca8a12ceeebc3f7b675b2960a6f784 100644
--- a/remoting/client/native_device_keymap.h
+++ b/remoting/client/native_device_keymap.h
@@ -10,8 +10,15 @@
namespace remoting {
+struct KeycodeWithModifier {
+ uint32_t keycode;
+ uint32_t modifier;
+};
+
uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode);
+KeycodeWithModifier AsciiToUsbKeycodeWithModifier(const char& ascii);
Yuwei 2017/05/15 19:38:07 A char is not harder to copy than a pointer. just
+
} // namespace remoting
#endif // REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_

Powered by Google App Engine
This is Rietveld 408576698