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

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

Issue 2862783002: [iOS Clean] Wired up ContextMenuCommands. (Closed)
Patch Set: Created 3 years, 8 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..1177bf499b38abcc12908bb1f2f49b4fd28cec82 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,13 @@
#import "ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.h"
+@protocol ContextMenuCommands;
+
// 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;
+- (instancetype)initWithDispatcher:(id<ContextMenuCommands>)dispatcher;
@end

Powered by Google App Engine
This is Rietveld 408576698