Chromium Code Reviews| Index: remoting/client/ios/app/example_view_controller.h |
| diff --git a/remoting/client/ios/app/example_view_controller.h b/remoting/client/ios/app/example_view_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9cfd9105fb751f4d9a809eeed247cc09169a2e03 |
| --- /dev/null |
| +++ b/remoting/client/ios/app/example_view_controller.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_APP_EXAMPLE_VIEW_CONTROLLER_H_ |
| +#define REMOTING_CLIENT_IOS_APP_EXAMPLE_VIEW_CONTROLLER_H_ |
| + |
| +#import <GLKit/GLKit.h> |
| +#import "remoting/client/ios/display/gl_display_handler.h" |
| +#include "remoting/client/ios/app_runtime.h" |
| + |
| +#include "remoting/client/software_video_renderer.h" |
| +#include "remoting/codec/video_encoder_verbatim.h" |
| +#include "remoting/proto/video.pb.h" |
| +#import "remoting/client/ios/client_gestures.h" |
| + |
| +@interface ExampleViewController : GLKViewController { |
| + @private |
| + |
| + // The GLES3 context being drawn too. |
|
joedow
2017/01/25 23:16:28
nit: s/too/to
nicholss
2017/01/26 18:00:15
Done.
|
| + EAGLContext* _context; |
| + remoting::ios::AppRuntime* _runtime; |
| + GlDisplayHandler* displayHandler; |
|
joedow
2017/01/25 23:16:28
displayHandler needs a leading underscore (_displa
nicholss
2017/01/26 18:00:16
This is really confusing to know which to use, inf
|
| + remoting::SoftwareVideoRenderer* video_renderer_; |
| + |
| + remoting::VideoEncoderVerbatim encoder_; |
| + ClientGestures* _gestures; |
| +} |
| + |
| +@end |
| + |
| +#endif // REMOTING_CLIENT_IOS_APP_EXAMPLE_VIEW_CONTROLLER_H_ |