Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_ | 5 #ifndef REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_ |
| 6 #define REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_ | 6 #define REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| 11 namespace remoting { | 11 namespace remoting { |
| 12 | 12 |
| 13 // TODO(solb): Redesign keyboard input handling. | |
| 14 // crbug.com/265945 | |
|
Sergey Ulanov
2013/07/31 01:54:16
I meant that it should be formatted as follows:
/
solb
2013/07/31 03:22:53
Done.
| |
| 13 // This is a temporary hack to convert Android's virtual keycodes into USB | 15 // This is a temporary hack to convert Android's virtual keycodes into USB |
| 14 // scancodes. Unfortunately, the current solution uses key mappings whose | 16 // scancodes. Unfortunately, the current solution uses key mappings whose |
| 15 // layout is determined according to the client device's input locale instead | 17 // layout is determined according to the client device's input locale instead |
| 16 // of the host's internationalization preferences. The whole process needs to | 18 // of the host's internationalization preferences. The whole process needs to |
| 17 // be rethought to accomplish this in an localizable and future-proof way. | 19 // be rethought to accomplish this in an localizable and future-proof way. |
| 18 // TODO(solb): crbug.com/265945 | 20 uint32 AndroidKeycodeToUsbKeycode(size_t android); |
| 19 uint32 AndroidKeycodeToUsbKeycode(int android); | |
| 20 | 21 |
| 21 } // namespace remoting | 22 } // namespace remoting |
| 22 | 23 |
| 23 #endif | 24 #endif |
| OLD | NEW |