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

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

Issue 19297003: Add support for drawing video onto a Java ByteBuffer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crashes discovered during integration testing 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 d8f03c90b468e558bab8c1fc01f83acbf496b933..ad42cc7e1f06b4d5d11791aa77a2df55f2fb4d0f 100644
--- a/remoting/client/jni/jni_interface.cc
+++ b/remoting/client/jni/jni_interface.cc
@@ -20,7 +20,7 @@
// Class and package name of the Java class that declares this file's functions.
#define JNI_IMPLEMENTATION(method) \
- Java_org_chromium_chromoting_jni_JNIInterface_##method
+ Java_org_chromium_chromoting_jni_JniInterface_##method
extern "C" {
@@ -107,4 +107,10 @@ JNIEXPORT void JNICALL JNI_IMPLEMENTATION(authenticationResponse)(
env->ReleaseStringUTFChars(pin_jstr, pin_cstr);
}
+JNIEXPORT void JNICALL JNI_IMPLEMENTATION(scheduleRedrawNative)(
+ JNIEnv* env,
+ jobject that) {
+ remoting::ChromotingJni::GetInstance()->session()->RedrawDesktop();
+}
+
} // extern "C"

Powered by Google App Engine
This is Rietveld 408576698