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

Side by Side Diff: remoting/client/ios/display/gl_display_handler.h

Issue 2805963002: Adding session object for iOS to integerate client sessions. (Closed)
Patch Set: Updating display handler to use correct paths. 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>
9 #import <GLKit/GLKit.h>
10
8 #import "remoting/client/display/sys_opengl.h" 11 #import "remoting/client/display/sys_opengl.h"
12
9 #include "remoting/client/client_context.h" 13 #include "remoting/client/client_context.h"
14 #include "remoting/protocol/cursor_shape_stub.h"
10 #include "remoting/protocol/frame_consumer.h" 15 #include "remoting/protocol/frame_consumer.h"
11 #include "remoting/protocol/video_renderer.h" 16 #include "remoting/protocol/video_renderer.h"
12 17
13 namespace remoting { 18 namespace remoting {
14 namespace ios {
15 19
16 class AppRuntime; 20 class ChromotingClientRuntime;
17 21
18 } // namespace ios
19 } // namespace remoting 22 } // namespace remoting
20 23
21 @interface GlDisplayHandler : NSObject { 24 @interface GlDisplayHandler : NSObject {
22 } 25 }
23 26
24 - (id)initWithRuntime:(remoting::ios::AppRuntime*)runtime; 27 - (id)initWithRuntime:(remoting::ChromotingClientRuntime*)runtime;
25 28
26 - (void)created; 29 - (void)created;
30 - (void)stop;
27 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect; 31 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect;
28 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; 32 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
33 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub;
29 34
30 @end 35 @end
31 36
32 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ 37 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/ios/display/gl_display_handler.mm » ('j') | remoting/client/ios/display/gl_display_handler.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698