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

Side by Side Diff: remoting/ios/app/remoting_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
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/remoting_view_controller.h" 9 #import "remoting/ios/app/remoting_view_controller.h"
10 10
11 #import "base/mac/bind_objc_block.h" 11 #import "base/mac/bind_objc_block.h"
12 #import "ios/third_party/material_components_ios/src/components/AnimationTiming/ src/MaterialAnimationTiming.h" 12 #import "ios/third_party/material_components_ios/src/components/AnimationTiming/ src/MaterialAnimationTiming.h"
13 #import "ios/third_party/material_components_ios/src/components/AppBar/src/Mater ialAppBar.h" 13 #import "ios/third_party/material_components_ios/src/components/AppBar/src/Mater ialAppBar.h"
14 #import "ios/third_party/material_components_ios/src/components/Dialogs/src/Mate rialDialogs.h" 14 #import "ios/third_party/material_components_ios/src/components/Dialogs/src/Mate rialDialogs.h"
15 #import "ios/third_party/material_components_ios/src/components/Snackbar/src/Mat erialSnackbar.h" 15 #import "ios/third_party/material_components_ios/src/components/Snackbar/src/Mat erialSnackbar.h"
16 #import "remoting/client/ios/app/client_connection_view_controller.h" 16 #import "remoting/ios/app/client_connection_view_controller.h"
17 #import "remoting/client/ios/app/host_collection_view_controller.h" 17 #import "remoting/ios/app/host_collection_view_controller.h"
18 #import "remoting/client/ios/app/host_view_controller.h" 18 #import "remoting/ios/app/host_view_controller.h"
19 #import "remoting/client/ios/app/remoting_settings_view_controller.h" 19 #import "remoting/ios/app/remoting_settings_view_controller.h"
20 #import "remoting/client/ios/domain/client_session_details.h" 20 #import "remoting/ios/domain/client_session_details.h"
21 #import "remoting/client/ios/facade/remoting_authentication.h" 21 #import "remoting/ios/facade/remoting_authentication.h"
22 #import "remoting/client/ios/facade/remoting_service.h" 22 #import "remoting/ios/facade/remoting_service.h"
23 #import "remoting/client/ios/session/remoting_client.h" 23 #import "remoting/ios/session/remoting_client.h"
24 24
25 #include "base/strings/sys_string_conversions.h" 25 #include "base/strings/sys_string_conversions.h"
26 #include "remoting/base/oauth_token_getter.h" 26 #include "remoting/base/oauth_token_getter.h"
27 #include "remoting/client/connect_to_host_info.h" 27 #include "remoting/client/connect_to_host_info.h"
28 28
29 static CGFloat kHostInset = 5.f; 29 static CGFloat kHostInset = 5.f;
30 30
31 @interface RemotingViewController ()<HostCollectionViewControllerDelegate, 31 @interface RemotingViewController ()<HostCollectionViewControllerDelegate,
32 ClientConnectionViewControllerDelegate, 32 ClientConnectionViewControllerDelegate,
33 UIViewControllerAnimatedTransitioning, 33 UIViewControllerAnimatedTransitioning,
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 MDCSnackbarMessage* message = [[MDCSnackbarMessage alloc] init]; 287 MDCSnackbarMessage* message = [[MDCSnackbarMessage alloc] init];
288 if (_isAuthenticated) { 288 if (_isAuthenticated) {
289 message.text = [NSString 289 message.text = [NSString
290 stringWithFormat:@"Currently signed in as %@.", 290 stringWithFormat:@"Currently signed in as %@.",
291 _remotingService.authentication.user.userEmail]; 291 _remotingService.authentication.user.userEmail];
292 [MDCSnackbarManager showMessage:message]; 292 [MDCSnackbarManager showMessage:message];
293 } 293 }
294 } 294 }
295 295
296 @end 296 @end
OLDNEW
« no previous file with comments | « remoting/ios/app/remoting_view_controller.h ('k') | remoting/ios/app/resources/Assets.xcassets/Back.imageset/Contents.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698