OLD | NEW |
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 #ifndef IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ |
6 #define IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ | 6 #define IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ |
7 | 7 |
8 #import "ios/chrome/browser/ui/alert_coordinator/alert_coordinator.h" | 8 #import "ios/chrome/browser/ui/alert_coordinator/alert_coordinator.h" |
9 | 9 |
10 // Coordinator for displaying Modal Alert with text inputs. | 10 // Coordinator for displaying Modal Alert with text inputs. |
11 @interface InputAlertCoordinator : AlertCoordinator | 11 @interface InputAlertCoordinator : AlertCoordinator |
12 | 12 |
13 // Text fields displayed by the alert. | 13 // Text fields displayed by the alert. |
14 @property(nonatomic, readonly) NSArray<UITextField*>* textFields; | 14 @property(strong, nonatomic, readonly) NSArray<UITextField*>* textFields; |
15 | 15 |
16 // Add a text field to the alert. | 16 // Add a text field to the alert. |
17 - (void)addTextFieldWithConfigurationHandler: | 17 - (void)addTextFieldWithConfigurationHandler: |
18 (void (^)(UITextField* textField))configurationHandler; | 18 (void (^)(UITextField* textField))configurationHandler; |
19 | 19 |
20 @end | 20 @end |
21 | 21 |
22 #endif // IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ | 22 #endif // IOS_CHROME_BROWSER_UI_ALERT_COORDINATOR_INPUT_ALERT_COORDINATOR_H_ |
OLD | NEW |