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

Unified Diff: remoting/client/native_device_keymap.cc

Issue 2753963002: Refactoring and rewriting the chromoting jni instance to be chromoting session. (Closed)
Patch Set: Pointer not obj. 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/native_device_keymap.cc
diff --git a/remoting/client/native_device_keymap.cc b/remoting/client/native_device_keymap.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7a94480f4464e99e1eea3eca575300a7de996041
--- /dev/null
+++ b/remoting/client/native_device_keymap.cc
@@ -0,0 +1,14 @@
+// Copyright 2017 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.
+
+#include "remoting/client/native_device_keymap.h"
+
+namespace remoting {
+
+// Default implementation.
+uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode) {
+ return device_keycode;
+}
+
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698