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

Unified Diff: ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h

Issue 2862783002: [iOS Clean] Wired up ContextMenuCommands. (Closed)
Patch Set: fix deps Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698