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

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

Issue 2879383002: [CRD iOS] Move UI stuff into a subdirectory (Closed)
Patch Set: Fix include 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
« no previous file with comments | « remoting/client/view_matrix.cc ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/app/host_view_controller.h" 9 #import "remoting/ios/app/host_view_controller.h"
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #import <GLKit/GLKit.h> 13 #import <GLKit/GLKit.h>
14 14
15 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h" 15 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h"
16 #import "remoting/ios/client_gestures.h" 16 #import "remoting/ios/client_gestures.h"
17 #import "remoting/ios/client_keyboard.h" 17 #import "remoting/ios/client_keyboard.h"
18 #import "remoting/ios/session/remoting_client.h" 18 #import "remoting/ios/session/remoting_client.h"
19 19
20 #include "remoting/client/gesture_interpreter.h" 20 #include "remoting/client/ui/gesture_interpreter.h"
21 21
22 static const CGFloat kFabInset = 15.f; 22 static const CGFloat kFabInset = 15.f;
23 static const CGFloat kKeyboardAnimationTime = 0.3; 23 static const CGFloat kKeyboardAnimationTime = 0.3;
24 24
25 @interface HostViewController () { 25 @interface HostViewController () {
26 RemotingClient* _client; 26 RemotingClient* _client;
27 MDCFloatingButton* _floatingButton; 27 MDCFloatingButton* _floatingButton;
28 ClientGestures* _clientGestures; 28 ClientGestures* _clientGestures;
29 ClientKeyboard* _clientKeyboard; 29 ClientKeyboard* _clientKeyboard;
30 CGSize _keyboardSize; 30 CGSize _keyboardSize;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 [self dismissViewControllerAnimated:YES completion:nil]; 215 [self dismissViewControllerAnimated:YES completion:nil];
216 }; 216 };
217 [alert addAction:[UIAlertAction actionWithTitle:@"Disconnect" 217 [alert addAction:[UIAlertAction actionWithTitle:@"Disconnect"
218 style:UIAlertActionStyleCancel 218 style:UIAlertActionStyleCancel
219 handler:disconnectHandler]]; 219 handler:disconnectHandler]];
220 220
221 [self presentViewController:alert animated:YES completion:nil]; 221 [self presentViewController:alert animated:YES completion:nil];
222 } 222 }
223 223
224 @end 224 @end
OLDNEW
« no previous file with comments | « remoting/client/view_matrix.cc ('k') | remoting/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698