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

Side by Side Diff: ios/clean/chrome/browser/ui/dialogs/dialog_consumer.h

Issue 2929563002: [iOS Clean] Added dialogs UI support.
Patch Set: Added DialogMediator Created 3 years, 6 months 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
OLDNEW
(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_CONSUMER_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_CONSUMER_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class DialogButtonItem;
11 @class DialogTextFieldItem;
12
13 // A DialogConsumer uses data provided by this protocol to configure and run a
14 // dialog.
marq (ping after 24h) 2017/06/14 10:52:15 Document what the expectations are around calling
kkhorimoto 2017/06/23 06:24:18 Done.
15 @protocol DialogConsumer<NSObject>
16
17 // Sets the title of the dialog.
18 - (void)setDialogTitle:(NSString*)title;
19
20 // Sets the message of the dialog.
21 - (void)setDialogMessage:(NSString*)message;
22
23 // Sets the button items to display in the dialog.
24 - (void)setDialogButtonItems:(NSArray<DialogButtonItem*>*)buttonItems;
25
26 // Sets the text field items to display in the dialog.
27 - (void)setDialogTextFieldItems:(NSArray<DialogTextFieldItem*>*)textFieldItems;
28
29 @end
30
31 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_CONSUMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698