| 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/client_connection_view_controller.h" | 9 #import "remoting/ios/app/client_connection_view_controller.h" |
| 10 | 10 |
| 11 #import "ios/third_party/material_components_ios/src/components/ActivityIndicato
r/src/MDCActivityIndicator.h" | 11 #import "ios/third_party/material_components_ios/src/components/ActivityIndicato
r/src/MDCActivityIndicator.h" |
| 12 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate
rialButtons.h" | 12 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate
rialButtons.h" |
| 13 #import "ios/third_party/material_components_ios/src/components/NavigationBar/sr
c/MaterialNavigationBar.h" | 13 #import "ios/third_party/material_components_ios/src/components/NavigationBar/sr
c/MaterialNavigationBar.h" |
| 14 #import "remoting/client/ios/app/pin_entry_view.h" | 14 #import "remoting/ios/app/pin_entry_view.h" |
| 15 #import "remoting/client/ios/domain/client_session_details.h" | 15 #import "remoting/ios/domain/client_session_details.h" |
| 16 #import "remoting/client/ios/session/remoting_client.h" | 16 #import "remoting/ios/session/remoting_client.h" |
| 17 | 17 |
| 18 #include "base/strings/sys_string_conversions.h" | 18 #include "base/strings/sys_string_conversions.h" |
| 19 #include "remoting/protocol/client_authentication_config.h" | 19 #include "remoting/protocol/client_authentication_config.h" |
| 20 | 20 |
| 21 static const CGFloat kIconRadius = 30.f; | 21 static const CGFloat kIconRadius = 30.f; |
| 22 static const CGFloat kActivityIndicatorStrokeWidth = 3.f; | 22 static const CGFloat kActivityIndicatorStrokeWidth = 3.f; |
| 23 static const CGFloat kActivityIndicatorRadius = 33.f; | 23 static const CGFloat kActivityIndicatorRadius = 33.f; |
| 24 | 24 |
| 25 static const CGFloat kPinEntryViewWidth = 240.f; | 25 static const CGFloat kPinEntryViewWidth = 240.f; |
| 26 static const CGFloat kPinEntryViewHeight = 90.f; | 26 static const CGFloat kPinEntryViewHeight = 90.f; |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 default: | 314 default: |
| 315 LOG(ERROR) << "Unknown State for Session, " << sessionDetails.state; | 315 LOG(ERROR) << "Unknown State for Session, " << sessionDetails.state; |
| 316 return; | 316 return; |
| 317 } | 317 } |
| 318 [[NSOperationQueue mainQueue] addOperationWithBlock:^{ | 318 [[NSOperationQueue mainQueue] addOperationWithBlock:^{ |
| 319 [self setState:state]; | 319 [self setState:state]; |
| 320 }]; | 320 }]; |
| 321 } | 321 } |
| 322 | 322 |
| 323 @end | 323 @end |
| OLD | NEW |