Index: remoting/client/jni/jni_interface.cc |
diff --git a/remoting/client/jni/jni_interface.cc b/remoting/client/jni/jni_interface.cc |
index ad42cc7e1f06b4d5d11791aa77a2df55f2fb4d0f..fc1296e686c433bbce5ba2ec79f7f8b05d6d3ec3 100644 |
--- a/remoting/client/jni/jni_interface.cc |
+++ b/remoting/client/jni/jni_interface.cc |
@@ -113,4 +113,16 @@ JNIEXPORT void JNICALL JNI_IMPLEMENTATION(scheduleRedrawNative)( |
remoting::ChromotingJni::GetInstance()->session()->RedrawDesktop(); |
} |
+JNIEXPORT void JNICALL JNI_IMPLEMENTATION(mouseActionNative)( |
+ JNIEnv* env, |
+ jobject that, |
+ jint x, |
+ jint y, |
+ jint which_button) { |
+ remoting::ChromotingJni::GetInstance()->session()->PerformMouseAction( |
+ x, |
+ y, |
+ static_cast<remoting::protocol::MouseEvent_MouseButton>(which_button)); |
+} |
+ |
} // extern "C" |