OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_MEDIATOR_SUBCLASSING_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_MEDIATOR_SUBCLASSING_H_ |
| 7 |
| 8 #import "ios/clean/chrome/browser/ui/dialogs/dialog_mediator.h" |
| 9 |
| 10 #import "ios/clean/chrome/browser/ui/commands/dialog_commands.h" |
| 11 |
| 12 @class DialogButtonConfiguration; |
| 13 @class DialogTextFieldConfiguration; |
| 14 |
| 15 // DialogMediator functionality exposed to subclasses. |
| 16 @interface DialogMediator (Subclassing) |
| 17 |
| 18 // The title to provide to the consumer. |
| 19 - (NSString*)dialogTitle; |
| 20 |
| 21 // The message to provide to the consumer. |
| 22 - (NSString*)dialogMessage; |
| 23 |
| 24 // The DialogButtonConfigurations to provide to the consumer. |
| 25 - (NSArray<DialogButtonConfiguration*>*)buttonConfigs; |
| 26 |
| 27 // The DialogTextFieldConfigurations to provide to the consumer. |
| 28 - (NSArray<DialogTextFieldConfiguration*>*)textFieldConfigs; |
| 29 |
| 30 @end |
| 31 |
| 32 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_MEDIATOR_SUBCLASSING_H_ |
OLD | NEW |