Add a context menu delegate method that takes a userInfo parameter
[WebKit-https.git] / Source / WebKit2 / UIProcess / Cocoa / UIDelegate.h
index b8d81ba..7496ffb 100644 (file)
@@ -63,7 +63,7 @@ private:
 
     private:
         // API::ContextMenuClient
-        virtual RetainPtr<NSMenu> menuFromProposedMenu(WebKit::WebPageProxy&, NSMenu *, const WebKit::WebHitTestResultData&) override;
+        virtual RetainPtr<NSMenu> menuFromProposedMenu(WebKit::WebPageProxy&, NSMenu *, const WebKit::WebHitTestResultData&, API::Object*) override;
 
         UIDelegate& m_uiDelegate;
     };
@@ -126,6 +126,7 @@ private:
 
 #if ENABLE(CONTEXT_MENUS)
         bool webViewContextMenuForElement : 1;
+        bool webViewContextMenuForElementUserInfo : 1;
 #endif
     } m_delegateMethods;
 };