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

Unified Diff: remoting/client/jni/jni_gl_display_handler.h

Issue 2745583008: Refactoring out the chromoting jni runtime class in favor of chromoting client runtime. (Closed)
Patch Set: Missed out on a () Created 3 years, 9 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_gl_display_handler.h
diff --git a/remoting/client/jni/jni_gl_display_handler.h b/remoting/client/jni/jni_gl_display_handler.h
index 12a5d78e3e5664a4056447dbb4b37d6f8130bf92..a1a09a18082967c7a782454ab846a0abeec58821 100644
--- a/remoting/client/jni/jni_gl_display_handler.h
+++ b/remoting/client/jni/jni_gl_display_handler.h
@@ -22,15 +22,14 @@ namespace protocol {
class VideoRenderer;
} // namespace protocol
-class ChromotingJniRuntime;
+class ChromotingClientRuntime;
// Handles OpenGL display operations. Draws desktop and cursor on the OpenGL
// surface. The handler should be used and destroyed on the UI thread. It also
// has a core that works on the display thread.
class JniGlDisplayHandler {
public:
- JniGlDisplayHandler(ChromotingJniRuntime* runtime,
- const base::android::JavaRef<jobject>& java_client);
+ JniGlDisplayHandler(const base::android::JavaRef<jobject>& java_client);
~JniGlDisplayHandler();
std::unique_ptr<protocol::CursorShapeStub> CreateCursorShapeStub();
@@ -83,7 +82,7 @@ class JniGlDisplayHandler {
void OnRenderDone();
void OnCanvasSizeChanged(int width, int height);
- ChromotingJniRuntime* runtime_;
+ ChromotingClientRuntime* runtime_;
QueuedTaskPoster ui_task_poster_;

Powered by Google App Engine
This is Rietveld 408576698