| Index: remoting/client/jni/jni_display_handler.h
|
| diff --git a/remoting/client/jni/jni_display_handler.h b/remoting/client/jni/jni_display_handler.h
|
| index 054fe239af7cb3ede444b447b758ed678d258133..de94f7a06ff295a0576c22f00ef32d0b42c753a6 100644
|
| --- a/remoting/client/jni/jni_display_handler.h
|
| +++ b/remoting/client/jni/jni_display_handler.h
|
| @@ -25,12 +25,13 @@ class JniVideoRenderer;
|
| // unless otherwise noted.
|
| class JniDisplayHandler : public DisplayUpdaterFactory {
|
| public:
|
| - JniDisplayHandler(ChromotingJniRuntime* runtime,
|
| - base::android::ScopedJavaGlobalRef<jobject> java_display);
|
| + explicit JniDisplayHandler(ChromotingJniRuntime* runtime);
|
|
|
| // Must be deleted on the display thread.
|
| ~JniDisplayHandler() override;
|
|
|
| + base::android::ScopedJavaLocalRef<jobject> GetJavaDisplay();
|
| +
|
| void UpdateCursorShape(const protocol::CursorShapeInfo& cursor_shape);
|
|
|
| // DisplayUpdaterFactory overrides (functions can be called on any thread).
|
| @@ -51,10 +52,6 @@ class JniDisplayHandler : public DisplayUpdaterFactory {
|
|
|
| static bool RegisterJni(JNIEnv* env);
|
|
|
| - // Deletes this object on display thread. Can be called on any thread.
|
| - void Destroy(JNIEnv* env,
|
| - const base::android::JavaParamRef<jobject>& caller);
|
| -
|
| // Schedule redraw. Can be called on any thread.
|
| void ScheduleRedraw(JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& caller);
|
|
|