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

Side by Side Diff: remoting/ios/app/host_view_controller.h

Issue 2904703003: [CRD iOS] Add support for three-finger gestures (Closed)
Patch Set: Created 3 years, 6 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_IOS_APP_HOST_VIEW_CONTROLLER_H_ 5 #ifndef REMOTING_IOS_APP_HOST_VIEW_CONTROLLER_H_
6 #define REMOTING_IOS_APP_HOST_VIEW_CONTROLLER_H_ 6 #define REMOTING_IOS_APP_HOST_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include "remoting/ios/display/gl_display_handler.h" 10 #include "remoting/ios/display/gl_display_handler.h"
11 11
12 @class RemotingClient; 12 @class RemotingClient;
13 13
14 // We don't inherit it from GLKViewController since it uses its rendering loop, 14 // We don't inherit it from GLKViewController since it uses its rendering loop,
15 // which will swap buffers when the GLRenderer is writing and causes screen 15 // which will swap buffers when the GLRenderer is writing and causes screen
16 // tearing issues. Instead we use GlDisplayHandler to handle the rendering loop. 16 // tearing issues. Instead we use GlDisplayHandler to handle the rendering loop.
17 @interface HostViewController : UIViewController 17 @interface HostViewController : UIViewController
18 18
19 - (id)initWithClient:(RemotingClient*)client; 19 - (id)initWithClient:(RemotingClient*)client;
20 20
21 - (void)showKeyboard;
22
23 - (void)hideKeyboard;
24
25 @property(nonatomic, readonly) RemotingClient* client;
26
21 @end 27 @end
22 28
23 #endif // REMOTING_IOS_APP_REMOTING_HOST_VIEW_CONTROLLER_H_ 29 #endif // REMOTING_IOS_APP_REMOTING_HOST_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698