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

Side by Side Diff: remoting/ios/session/remoting_client.mm

Issue 2869303003: Adding hooks to add the keyboard on screen and be able to dismiss it. (Closed)
Patch Set: Adding kKeyboardAnimationTime. Created 3 years, 7 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 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import "remoting/ios/session/remoting_client.h" 9 #import "remoting/ios/session/remoting_client.h"
10 10
(...skipping 22 matching lines...) Expand all
33 NSString* const kHostSessionPin = @"kHostSessionPin"; 33 NSString* const kHostSessionPin = @"kHostSessionPin";
34 34
35 @interface RemotingClient () { 35 @interface RemotingClient () {
36 remoting::ChromotingClientRuntime* _runtime; 36 remoting::ChromotingClientRuntime* _runtime;
37 std::unique_ptr<remoting::ChromotingSession> _session; 37 std::unique_ptr<remoting::ChromotingSession> _session;
38 remoting::RemotingClientSessonDelegate* _sessonDelegate; 38 remoting::RemotingClientSessonDelegate* _sessonDelegate;
39 ClientSessionDetails* _sessionDetails; 39 ClientSessionDetails* _sessionDetails;
40 // Call _secretFetchedCallback on the network thread. 40 // Call _secretFetchedCallback on the network thread.
41 remoting::protocol::SecretFetchedCallback _secretFetchedCallback; 41 remoting::protocol::SecretFetchedCallback _secretFetchedCallback;
42 std::unique_ptr<remoting::GestureInterpreter> _gestureInterpreter; 42 std::unique_ptr<remoting::GestureInterpreter> _gestureInterpreter;
43 // std::unique_ptr<remoting::KeyboardInterpreter> _keyboardInterpreter;
43 } 44 }
44 @end 45 @end
45 46
46 @implementation RemotingClient 47 @implementation RemotingClient
47 48
48 @synthesize displayHandler = _displayHandler; 49 @synthesize displayHandler = _displayHandler;
49 50
50 - (instancetype)init { 51 - (instancetype)init {
51 self = [super init]; 52 self = [super init];
52 if (self) { 53 if (self) {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 230
230 #pragma mark - GlDisplayHandlerDelegate 231 #pragma mark - GlDisplayHandlerDelegate
231 232
232 - (void)canvasSizeChanged:(CGSize)size { 233 - (void)canvasSizeChanged:(CGSize)size {
233 if (_gestureInterpreter) { 234 if (_gestureInterpreter) {
234 _gestureInterpreter->OnDesktopSizeChanged(size.width, size.height); 235 _gestureInterpreter->OnDesktopSizeChanged(size.width, size.height);
235 } 236 }
236 } 237 }
237 238
238 @end 239 @end
OLDNEW
« remoting/ios/app/host_view_controller.mm ('K') | « remoting/ios/session/remoting_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698