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

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

Issue 2846603002: Updating Pin Entry View and creating Connection Status View. (Closed)
Patch Set: Use viewWillLayoutSubviews. 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/host_view_controller.h" 9 #import "remoting/client/ios/app/host_view_controller.h"
10 10
11 #import <GLKit/GLKit.h> 11 #import <GLKit/GLKit.h>
12 12
13 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h" 13 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h"
14 #import "remoting/client/ios/display/gl_display_handler.h"
14 #import "remoting/client/ios/session/remoting_client.h" 15 #import "remoting/client/ios/session/remoting_client.h"
15 16
16 static const CGFloat kFabInset = 15.f; 17 static const CGFloat kFabInset = 15.f;
17 18
18 @interface HostViewController () { 19 @interface HostViewController () {
19 RemotingClient* _client; 20 RemotingClient* _client;
20 MDCFloatingButton* _floatingButton; 21 MDCFloatingButton* _floatingButton;
21 } 22 }
22 @end 23 @end
23 24
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #pragma mark - Private 98 #pragma mark - Private
98 99
99 - (void)didTap:(id)sender { 100 - (void)didTap:(id)sender {
100 // TODO(nicholss): The FAB is being used to close the window at the moment 101 // TODO(nicholss): The FAB is being used to close the window at the moment
101 // just as a demo as the integration continues. This will not be the case 102 // just as a demo as the integration continues. This will not be the case
102 // in the final app. 103 // in the final app.
103 [self dismissViewControllerAnimated:YES completion:nil]; 104 [self dismissViewControllerAnimated:YES completion:nil];
104 } 105 }
105 106
106 @end 107 @end
OLDNEW
« no previous file with comments | « remoting/client/ios/app/client_connection_view_controller.mm ('k') | remoting/client/ios/app/pin_entry_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698