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

Side by Side Diff: ios/clean/chrome/browser/ui/dialogs/dialog_view_controller.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_VIEW_CONTROLLER_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_VIEW_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/clean/chrome/browser/ui/dialogs/dialog_consumer.h"
11
12 @protocol DialogDismissalCommands;
13
14 // Class used to display dialogs.
marq (ping after 24h) 2017/06/14 10:52:15 Is this expected to be subclassed?
kkhorimoto 2017/06/23 06:24:18 No, I'll add a comment for that. It should be mor
15 @interface DialogViewController : UIAlertController<DialogConsumer>
16
17 // Initializer for a dialog with |style| that uses |dispatcher| to manager its
marq (ping after 24h) 2017/06/14 10:52:16 mananger -> manage
kkhorimoto 2017/06/23 06:24:18 Done.
18 // dismissal.
19 - (instancetype)initWithStyle:(UIAlertControllerStyle)style
marq (ping after 24h) 2017/06/14 10:52:15 Style should always be UIAlertControllerStyleAlert
kkhorimoto 2017/06/23 06:24:18 Nope, the dialog blocking confirmation is an actio
20 dispatcher:(id<DialogDismissalCommands>)dispatcher;
21
22 @end
23
24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_DIALOG_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698