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

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

Issue 19500017: Implement basic point-and-touch mouse input for Android client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bump version number to 0.01 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
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698