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_COORDINATOR_SUBCLASSING_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_COORDINATOR_SUBCLASSING_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/clean/chrome/browser/ui/dialogs/dialog_coordinator.h" |
| 11 |
| 12 @class DialogMediator; |
| 13 |
| 14 // Interface used to expose DialogCoordinator configuration to subclasses. |
| 15 @interface DialogCoordinator (Subclassing) |
| 16 |
| 17 // The type of dialog UI that should be started for this coordinator. Defaults |
| 18 // to UIAlertControllerStyleAlert. |
| 19 @property(nonatomic, readonly) UIAlertControllerStyle alertStyle; |
| 20 |
| 21 // The mediator that will be used to configure the DialogConsumer. The value is |
| 22 // expected to return non-nil before DialogCoordinator's |-start| is called. |
| 23 @property(nonatomic, readonly) DialogMediator* mediator; |
| 24 |
| 25 @end |
| 26 |
| 27 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_COORDINATOR_SUBCLASSING_H_ |
OLD | NEW |