Index: ios/chrome/browser/ui/tools_menu/tools_popup_controller.h |
diff --git a/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h b/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h |
index e91c6441edea9a383037ef83841e355b9b1efd60..4bc35c722a64588838ea5c6448c6d778b77caa8d 100644 |
--- a/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h |
+++ b/ios/chrome/browser/ui/tools_menu/tools_popup_controller.h |
@@ -12,6 +12,7 @@ |
// The a11y ID of the tools menu table view (used by integration tests). |
extern NSString* const kToolsMenuTableViewId; |
+@protocol BrowserCommands; |
@class ToolsMenuConfiguration; |
// The view controller for the tools menu within the top toolbar. |
@@ -23,7 +24,8 @@ extern NSString* const kToolsMenuTableViewId; |
// Initializes the popup with the given |configuration|, a set of information |
// used to determine the appearance of the menu and the entries displayed. |
-- (instancetype)initWithConfiguration:(ToolsMenuConfiguration*)configuration; |
+- (instancetype)initWithConfiguration:(ToolsMenuConfiguration*)configuration |
+ dispatcher:(id<BrowserCommands>)dispatcher; |
// Called when the current tab loading state changes. |
- (void)setIsTabLoading:(BOOL)isTabLoading; |