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

Unified Diff: remoting/client/ios/display/gl_display_handler.h

Issue 2828113002: Provide HostView with data required for creating a new and session, and render for CRD iOS. (Closed)
Patch Set: fixing issue based on feedback. Created 3 years, 8 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/ios/display/gl_display_handler.h
diff --git a/remoting/client/ios/display/gl_display_handler.h b/remoting/client/ios/display/gl_display_handler.h
index 606bf3ebde77e8fcbd5c124ee13e76346e8040e4..9b3bac1e66a55cd8f640c91b64337a8213902b55 100644
--- a/remoting/client/ios/display/gl_display_handler.h
+++ b/remoting/client/ios/display/gl_display_handler.h
@@ -10,28 +10,30 @@
#import "remoting/client/display/sys_opengl.h"
-#include "remoting/client/client_context.h"
-#include "remoting/protocol/cursor_shape_stub.h"
-#include "remoting/protocol/frame_consumer.h"
-#include "remoting/protocol/video_renderer.h"
+#include "base/memory/ptr_util.h"
namespace remoting {
class ChromotingClientRuntime;
+namespace protocol {
+
+class VideoRenderer;
+class CursorShapeStub;
+
+} // namespace protocol
} // namespace remoting
@interface GlDisplayHandler : NSObject {
}
-- (id)initWithRuntime:(remoting::ChromotingClientRuntime*)runtime;
-
-- (void)created;
- (void)stop;
- (void)glkView:(GLKView*)view drawInRect:(CGRect)rect;
- (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
- (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub;
+- (EAGLContext*)GetEAGLContext;
+
@end
#endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698