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

Unified Diff: remoting/client/jni/android_keymap.h

Issue 2753963002: Refactoring and rewriting the chromoting jni instance to be chromoting session. (Closed)
Patch Set: JNI client is the session delegate. Created 3 years, 9 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/jni/android_keymap.h
diff --git a/remoting/client/jni/android_keymap.h b/remoting/client/jni/android_keymap.h
deleted file mode 100644
index 0ce02768b34bffa2e5e7cb34110b91f99266e5e5..0000000000000000000000000000000000000000
--- a/remoting/client/jni/android_keymap.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
-#define REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include <memory>
-
-namespace remoting {
-
-// TODO(solb): This is a temporary hack to convert Android's virtual keycodes
-// into USB scancodes. Unfortunately, the current solution uses key mappings
-// whose layout is determined according to the client device's input locale
-// instead of the host's. The whole process needs to be rethought to accomplish
-// the mappings in a localizable and future-proof way.
-// crbug.com/265945
-uint32_t AndroidKeycodeToUsbKeycode(size_t android);
-
-} // namespace remoting
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698