Chromium Code Reviews| 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_ |