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

Unified Diff: ios/clean/chrome/browser/ui/presenters/menu_presentation_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/presenters/menu_presentation_controller.h
diff --git a/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h b/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h
index aba4d49803afe76a3bb74da89f1a1529519b1973..258e620693603a4a9672589eb2fb65604994db3d 100644
--- a/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h
+++ b/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h
@@ -7,7 +7,7 @@
#import <UIKit/UIKit.h>
-@protocol ToolbarCommands;
+@protocol ToolsMenuCommands;
// A presentation controller for presenting a "menu" interface: a (usually)
// rectangular presentation that covers part of the window, and which doesn't
@@ -21,7 +21,8 @@
// the region the menu appears in. Otherwise a default rectangular area is
// controller's view.
@interface MenuPresentationController : UIPresentationController
-@property(nonatomic, assign) id<ToolbarCommands> toolbarCommandHandler;
+// The dispatcher for this presentation controller.
+@property(nonatomic, weak) id<ToolsMenuCommands> dispatcher;
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698