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

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: Rename to JniFrameConsumer, use WeakPtrFactory, eliminate buffer_ pointer 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..1a26b8f628b0ab1080a2bbb622a87f0fd5dde77c 100644
--- a/remoting/client/jni/jni_interface.cc
+++ b/remoting/client/jni/jni_interface.cc
@@ -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