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

Side by Side Diff: ios/chrome/browser/ui/alert_coordinator/input_alert_coordinator.mm

Issue 2568143002: [ObjC ARC] Converts ios/chrome/browser/ui/alert_coordinator:alert_coordinator to ARC. (Closed)
Patch Set: comment Created 4 years 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 | « ios/chrome/browser/ui/alert_coordinator/input_alert_coordinator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #import "ios/chrome/browser/ui/alert_coordinator/input_alert_coordinator.h" 5 #import "ios/chrome/browser/ui/alert_coordinator/input_alert_coordinator.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 @implementation InputAlertCoordinator 11 @implementation InputAlertCoordinator
8 12
9 - (NSArray<UITextField*>*)textFields { 13 - (NSArray<UITextField*>*)textFields {
10 return [self.alertController textFields]; 14 return [self.alertController textFields];
11 } 15 }
12 16
13 - (void)addTextFieldWithConfigurationHandler: 17 - (void)addTextFieldWithConfigurationHandler:
14 (void (^)(UITextField* textField))configurationHandler { 18 (void (^)(UITextField* textField))configurationHandler {
15 [self.alertController 19 [self.alertController
16 addTextFieldWithConfigurationHandler:configurationHandler]; 20 addTextFieldWithConfigurationHandler:configurationHandler];
17 } 21 }
18 22
19 @end 23 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/alert_coordinator/input_alert_coordinator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698