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

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

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. 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/ios/app/host_view_controller.h ('k') | remoting/ios/app/main.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/client/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/client/ios/client_gestures.h" 16 #import "remoting/ios/client_gestures.h"
17 #import "remoting/client/ios/session/remoting_client.h" 17 #import "remoting/ios/session/remoting_client.h"
18 18
19 #include "remoting/client/gesture_interpreter.h" 19 #include "remoting/client/gesture_interpreter.h"
20 20
21 static const CGFloat kFabInset = 15.f; 21 static const CGFloat kFabInset = 15.f;
22 22
23 @interface HostViewController () { 23 @interface HostViewController () {
24 RemotingClient* _client; 24 RemotingClient* _client;
25 MDCFloatingButton* _floatingButton; 25 MDCFloatingButton* _floatingButton;
26 26
27 ClientGestures* _clientGestures; 27 ClientGestures* _clientGestures;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 - (void)didTap:(id)sender { 110 - (void)didTap:(id)sender {
111 // TODO(nicholss): The FAB is being used to close the window at the moment 111 // TODO(nicholss): The FAB is being used to close the window at the moment
112 // just as a demo as the integration continues. This will not be the case 112 // just as a demo as the integration continues. This will not be the case
113 // in the final app. 113 // in the final app.
114 [_client disconnectFromHost]; 114 [_client disconnectFromHost];
115 [self dismissViewControllerAnimated:YES completion:nil]; 115 [self dismissViewControllerAnimated:YES completion:nil];
116 } 116 }
117 117
118 @end 118 @end
OLDNEW
« no previous file with comments | « remoting/ios/app/host_view_controller.h ('k') | remoting/ios/app/main.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698