OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/client/jni/jni_gl_display_handler.h" | 5 #include "remoting/client/jni/jni_gl_display_handler.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "remoting/client/jni/chromoting_jni_runtime.h" | 8 #include "remoting/client/jni/chromoting_jni_runtime.h" |
9 #include "remoting/client/jni/jni_video_renderer.h" | 9 #include "remoting/client/jni/jni_video_renderer.h" |
10 | 10 |
11 namespace remoting { | 11 namespace remoting { |
12 | 12 |
13 JniGlDisplayHandler::JniGlDisplayHandler() {} | 13 JniGlDisplayHandler::JniGlDisplayHandler() {} |
14 | 14 |
15 JniGlDisplayHandler::~JniGlDisplayHandler() {} | 15 JniGlDisplayHandler::~JniGlDisplayHandler() {} |
16 | 16 |
17 std::unique_ptr<protocol::CursorShapeStub> | 17 std::unique_ptr<protocol::CursorShapeStub> |
18 JniGlDisplayHandler::CreateCursorShapeStub() { | 18 JniGlDisplayHandler::CreateCursorShapeStub() { |
19 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
20 return std::unique_ptr<protocol::CursorShapeStub>(); | 20 return std::unique_ptr<protocol::CursorShapeStub>(); |
21 } | 21 } |
22 | 22 |
23 std::unique_ptr<JniVideoRenderer> | 23 std::unique_ptr<protocol::VideoRenderer> |
24 JniGlDisplayHandler::CreateVideoRenderer() { | 24 JniGlDisplayHandler::CreateVideoRenderer() { |
25 NOTIMPLEMENTED(); | 25 NOTIMPLEMENTED(); |
26 return std::unique_ptr<JniVideoRenderer>(); | 26 return std::unique_ptr<protocol::VideoRenderer>(); |
27 } | 27 } |
28 | 28 |
29 // static | 29 // static |
30 bool JniGlDisplayHandler::RegisterJni(JNIEnv* env) { | 30 bool JniGlDisplayHandler::RegisterJni(JNIEnv* env) { |
31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 void JniGlDisplayHandler::OnSurfaceCreated( | 35 void JniGlDisplayHandler::OnSurfaceCreated( |
36 JNIEnv* env, | 36 JNIEnv* env, |
37 const base::android::JavaParamRef<jobject>& caller) { | 37 const base::android::JavaParamRef<jobject>& caller) { |
38 NOTIMPLEMENTED(); | 38 NOTIMPLEMENTED(); |
39 } | 39 } |
40 | 40 |
41 void JniGlDisplayHandler::OnSurfaceChanged( | 41 void JniGlDisplayHandler::OnSurfaceChanged( |
42 JNIEnv* env, | 42 JNIEnv* env, |
43 const base::android::JavaParamRef<jobject>& caller, | 43 const base::android::JavaParamRef<jobject>& caller, |
44 int width, | 44 int width, |
45 int height) { | 45 int height) { |
46 NOTIMPLEMENTED(); | 46 NOTIMPLEMENTED(); |
47 } | 47 } |
48 | 48 |
49 void JniGlDisplayHandler::OnDrawFrame( | 49 void JniGlDisplayHandler::OnDrawFrame( |
50 JNIEnv* env, | 50 JNIEnv* env, |
51 const base::android::JavaParamRef<jobject>& caller) { | 51 const base::android::JavaParamRef<jobject>& caller) { |
52 NOTIMPLEMENTED(); | 52 NOTIMPLEMENTED(); |
53 } | 53 } |
54 | 54 |
55 } // namespace remoting | 55 } // namespace remoting |
OLD | NEW |