| 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..f9859afad517ad9c3ff88cb035039fff5d2b8131 100644
|
| --- a/remoting/client/jni/jni_interface.cc
|
| +++ b/remoting/client/jni/jni_interface.cc
|
| @@ -113,4 +113,18 @@ 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,
|
| + jboolean button_down) {
|
| + remoting::ChromotingJni::GetInstance()->session()->PerformMouseAction(
|
| + x,
|
| + y,
|
| + static_cast<remoting::protocol::MouseEvent_MouseButton>(which_button),
|
| + button_down);
|
| +}
|
| +
|
| } // extern "C"
|
|
|