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

Unified Diff: remoting/client/jni/jni_interface.cc

Issue 21120005: Add Android Chromoting client keyboard input (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve related comments Created 7 years, 5 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/jni_interface.cc
diff --git a/remoting/client/jni/jni_interface.cc b/remoting/client/jni/jni_interface.cc
index 5dc462d3b02472f8ef592948cac8df60a57378e6..5ca45a013cffc1e237051b18d912bf7e10d1daa8 100644
--- a/remoting/client/jni/jni_interface.cc
+++ b/remoting/client/jni/jni_interface.cc
@@ -127,4 +127,13 @@ JNIEXPORT void JNICALL JNI_IMPLEMENTATION(mouseActionNative)(
button_down);
}
+JNIEXPORT void JNICALL JNI_IMPLEMENTATION(keyboardActionNative)(
+ JNIEnv* env,
+ jobject that,
+ jint key_code,
+ jboolean key_down) {
+ remoting::ChromotingJniRuntime::GetInstance()->session()->
+ PerformKeyboardAction(key_code, key_down);
+}
+
} // extern "C"

Powered by Google App Engine
This is Rietveld 408576698