| Index: ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h
|
| diff --git a/ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h b/ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h
|
| index 055569981cbaf8810d8ff3b89a781fde699c4208..361cee1d48ae006c2187f2865a79be1b243be410 100644
|
| --- a/ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h
|
| +++ b/ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h
|
| @@ -9,13 +9,14 @@
|
|
|
| #import "ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.h"
|
|
|
| +@protocol ContextMenuCommands;
|
| +@class ContextMenuContext;
|
| +
|
| // A view controller that displays a context menu.
|
| @interface ContextMenuViewController : UIAlertController<ContextMenuConsumer>
|
|
|
| -// Create an instance of this class with the dispatcher |dispatcher|.
|
| -//
|
| -// PLACEHOLDER: Once commands are defined, define a protocol for the dispatcher.
|
| -- (instancetype)initWithDispatcher:(id)dispatcher;
|
| +// Designated initializer that uses |dispatcher| to communicate commands.
|
| +- (instancetype)initWithDispatcher:(id<ContextMenuCommands>)dispatcher;
|
|
|
| @end
|
|
|
|
|