| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |