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

Unified Diff: ios/clean/chrome/browser/ui/tools/menu_view_controller.h

Issue 2785213003: [ios] Use dispatcher for ToolsMenu commands. (Closed)
Patch Set: Rebase 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/tools/menu_view_controller.h
diff --git a/ios/clean/chrome/browser/ui/tools/menu_view_controller.h b/ios/clean/chrome/browser/ui/tools/menu_view_controller.h
index a9ebe606a2f68c0bc28f1c3843b19a6b76b60d47..1ab5bf01a6527e8aaee9f7ae28f7ded5b2cff69f 100644
--- a/ios/clean/chrome/browser/ui/tools/menu_view_controller.h
+++ b/ios/clean/chrome/browser/ui/tools/menu_view_controller.h
@@ -9,10 +9,14 @@
#import "ios/clean/chrome/browser/ui/tools/tools_consumer.h"
+@protocol ToolsMenuCommands;
+
// View controller that displays a vertical list of buttons to act as a menu.
// The view controller dismisses as soon as any of the buttons, or any area
// outside the presentation area, is tapped.
@interface MenuViewController : UIViewController<ToolsConsumer>
+// The dispatcher for this view controller.
+@property(nonatomic, weak) id<ToolsMenuCommands> dispatcher;
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_
« no previous file with comments | « ios/clean/chrome/browser/ui/tools/BUILD.gn ('k') | ios/clean/chrome/browser/ui/tools/menu_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698