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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ 5 #ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ 6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <GLKit/GLKit.h> 9 #import <GLKit/GLKit.h>
10 10
11 #import "remoting/client/display/sys_opengl.h" 11 #import "remoting/client/display/sys_opengl.h"
12 12
13 #include "remoting/client/client_context.h" 13 #include "base/memory/ptr_util.h"
14 #include "remoting/protocol/cursor_shape_stub.h"
15 #include "remoting/protocol/frame_consumer.h"
16 #include "remoting/protocol/video_renderer.h"
17 14
18 namespace remoting { 15 namespace remoting {
19 16
20 class ChromotingClientRuntime; 17 class ChromotingClientRuntime;
21 18
19 namespace protocol {
20
21 class VideoRenderer;
22 class CursorShapeStub;
23
24 } // namespace protocol
22 } // namespace remoting 25 } // namespace remoting
23 26
24 @interface GlDisplayHandler : NSObject { 27 @interface GlDisplayHandler : NSObject {
25 } 28 }
26 29
27 - (id)initWithRuntime:(remoting::ChromotingClientRuntime*)runtime;
28
29 - (void)created;
30 - (void)stop; 30 - (void)stop;
31 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect; 31 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect;
32 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; 32 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
33 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub; 33 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub;
34 34
35 - (EAGLContext*)GetEAGLContext;
36
35 @end 37 @end
36 38
37 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ 39 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698