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

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: Code cleanup, adding comments for new methods and classes. 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 "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h" 11 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate rialButtons.h"
12 #import "remoting/client/ios/display/gl_display_handler.h"
Yuwei 2017/05/01 23:01:15 What is this line for?
nicholss 2017/05/02 16:39:40 Line 68 uses the display handler. In this CL I als
Yuwei 2017/05/02 18:24:44 Acknowledged.
12 #import "remoting/client/ios/session/remoting_client.h" 13 #import "remoting/client/ios/session/remoting_client.h"
13 14
14 static const CGFloat kFabInset = 15.f; 15 static const CGFloat kFabInset = 15.f;
15 16
16 @interface HostViewController () { 17 @interface HostViewController () {
17 RemotingClient* _client; 18 RemotingClient* _client;
18 } 19 }
19 @end 20 @end
20 21
21 @implementation HostViewController 22 @implementation HostViewController
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 #pragma mark - Private 80 #pragma mark - Private
80 81
81 - (void)didTap:(id)sender { 82 - (void)didTap:(id)sender {
82 // TODO(nicholss): The FAB is being used to close the window at the moment 83 // TODO(nicholss): The FAB is being used to close the window at the moment
83 // just as a demo as the integration continues. This will not be the case 84 // just as a demo as the integration continues. This will not be the case
84 // in the final app. 85 // in the final app.
85 [self dismissViewControllerAnimated:YES completion:nil]; 86 [self dismissViewControllerAnimated:YES completion:nil];
86 } 87 }
87 88
88 @end 89 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698