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

Side by Side Diff: remoting/client/jni/android_keymap.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « remoting/client/frame_consumer.h ('k') | remoting/client/jni/android_keymap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h>
9 #include <stdint.h>
10
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 12
11 namespace remoting { 13 namespace remoting {
12 14
13 // TODO(solb): This is a temporary hack to convert Android's virtual keycodes 15 // TODO(solb): This is a temporary hack to convert Android's virtual keycodes
14 // into USB scancodes. Unfortunately, the current solution uses key mappings 16 // into USB scancodes. Unfortunately, the current solution uses key mappings
15 // whose layout is determined according to the client device's input locale 17 // whose layout is determined according to the client device's input locale
16 // instead of the host's. The whole process needs to be rethought to accomplish 18 // instead of the host's. The whole process needs to be rethought to accomplish
17 // the mappings in a localizable and future-proof way. 19 // the mappings in a localizable and future-proof way.
18 // crbug.com/265945 20 // crbug.com/265945
19 uint32 AndroidKeycodeToUsbKeycode(size_t android); 21 uint32_t AndroidKeycodeToUsbKeycode(size_t android);
20 22
21 } // namespace remoting 23 } // namespace remoting
22 24
23 #endif 25 #endif
OLDNEW
« no previous file with comments | « remoting/client/frame_consumer.h ('k') | remoting/client/jni/android_keymap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698