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

Side by Side Diff: remoting/ios/app/pin_entry_view.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
« no previous file with comments | « remoting/ios/app/pin_entry_view.h ('k') | remoting/ios/app/remoting_settings_view_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/pin_entry_view.h" 9 #import "remoting/ios/app/pin_entry_view.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 12
13 static const CGFloat kMargin = 5.f; 13 static const CGFloat kMargin = 5.f;
14 static const CGFloat kPadding = 6.f; 14 static const CGFloat kPadding = 6.f;
15 static const CGFloat kLineSpace = 12.f; 15 static const CGFloat kLineSpace = 12.f;
16 16
17 @interface PinEntryView () { 17 @interface PinEntryView () {
18 UISwitch* _pairingSwitch; 18 UISwitch* _pairingSwitch;
19 UILabel* _pairingLabel; 19 UILabel* _pairingLabel;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 #pragma mark - Private 116 #pragma mark - Private
117 117
118 - (void)didTapPinEntry:(id)sender { 118 - (void)didTapPinEntry:(id)sender {
119 [_delegate didProvidePin:_pinEntry.text createPairing:_pairingSwitch.isOn]; 119 [_delegate didProvidePin:_pinEntry.text createPairing:_pairingSwitch.isOn];
120 [_pinEntry endEditing:YES]; 120 [_pinEntry endEditing:YES];
121 } 121 }
122 122
123 @end 123 @end
OLDNEW
« no previous file with comments | « remoting/ios/app/pin_entry_view.h ('k') | remoting/ios/app/remoting_settings_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698