Index: ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h |
diff --git a/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h b/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h |
index 3ef41bc9ed30853b00678bf285aa2439875002f7..0bb7f2cddce1297452e158a9f09b7e087724a4ed 100644 |
--- a/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h |
+++ b/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h |
@@ -9,11 +9,22 @@ |
#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" |
+namespace web { |
+struct ContextMenuParams; |
+} |
+ |
// A coordinator for a UI element that displays the web view associated with |
// |webState|. |
// HACK: Named WebContentMenuCoordinator to avoid collision with the |
// old architecture ContextMenuCoordinator class. |
@interface WebContextMenuCoordinator : BrowserCoordinator |
+ |
+// Initializer that takes the parameters used to specify which context menu |
+// options to display. |
+- (instancetype)initWithParams:(const web::ContextMenuParams&)params |
+ NS_DESIGNATED_INITIALIZER; |
+- (instancetype)init NS_UNAVAILABLE; |
+ |
@end |
#endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR_H_ |