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_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_MEDIATOR_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 #import "ios/clean/chrome/browser/ui/commands/dialog_commands.h" |
| 11 |
| 12 @protocol DialogConsumer; |
| 13 |
| 14 // Class responsible for setting up a DialogConsumer. This class is meant to be |
| 15 // subclassed, and subclasses are expected to implement the interface in the |
| 16 // DialogMediator+Subclassing category. |
| 17 @interface DialogMediator : NSObject<DialogDismissalCommands> |
| 18 |
| 19 // Supplies UI information to |consumer|. |
| 20 - (void)updateConsumer:(id<DialogConsumer>)consumer; |
| 21 |
| 22 @end |
| 23 |
| 24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_MEDIATOR_H_ |
OLD | NEW |