Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..39aad3edc395b432bf948fca8f2c227152d11279 |
| --- /dev/null |
| +++ b/remoting/client/ios/display/gl_display_handler.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |
| +#define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |
| + |
|
joedow
2017/01/25 23:16:28
#include <memory> for unique_ptr usage
|
| +#import "remoting/client/display/sys_opengl.h" |
| +#include "remoting/client/client_context.h" |
| +#include "remoting/protocol/frame_consumer.h" |
| +#include "remoting/protocol/video_renderer.h" |
| + |
| +namespace remoting { |
| +namespace ios { |
| + |
| +class AppRuntime; |
| + |
| +} // namespace ios |
| +} // namespace remoting |
| + |
| +@interface GlDisplayHandler : NSObject { |
| +} |
| + |
| +- (id)initWithRuntime:(remoting::ios::AppRuntime*)runtime; |
| + |
| +- (void)created; |
| +- (void)glkView:(GLKView*)view drawInRect:(CGRect)rect; |
| +- (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; |
| + |
| +@end |
| + |
| +#endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |