Title: [191593] trunk/Source/WebKit2
- Revision
- 191593
- Author
- [email protected]
- Date
- 2015-10-26 12:20:09 -0700 (Mon, 26 Oct 2015)
Log Message
Remove more dead context menu code
https://bugs.webkit.org/show_bug.cgi?id=150569
Reviewed by Tim Horton.
* UIProcess/API/APIContextMenuClient.h:
(API::ContextMenuClient::contextMenuDismissed): Deleted.
* UIProcess/API/C/WKPage.cpp:
(WKPageSetPageContextMenuClient): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (191592 => 191593)
--- trunk/Source/WebKit2/ChangeLog 2015-10-26 19:15:25 UTC (rev 191592)
+++ trunk/Source/WebKit2/ChangeLog 2015-10-26 19:20:09 UTC (rev 191593)
@@ -1,5 +1,17 @@
2015-10-26 Anders Carlsson <[email protected]>
+ Remove more dead context menu code
+ https://bugs.webkit.org/show_bug.cgi?id=150569
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/API/APIContextMenuClient.h:
+ (API::ContextMenuClient::contextMenuDismissed): Deleted.
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageSetPageContextMenuClient): Deleted.
+
+2015-10-26 Anders Carlsson <[email protected]>
+
Remove dead context menu code
https://bugs.webkit.org/show_bug.cgi?id=150567
Modified: trunk/Source/WebKit2/UIProcess/API/APIContextMenuClient.h (191592 => 191593)
--- trunk/Source/WebKit2/UIProcess/API/APIContextMenuClient.h 2015-10-26 19:15:25 UTC (rev 191592)
+++ trunk/Source/WebKit2/UIProcess/API/APIContextMenuClient.h 2015-10-26 19:20:09 UTC (rev 191593)
@@ -50,7 +50,6 @@
virtual bool getContextMenuFromProposedMenu(WebKit::WebPageProxy&, const Vector<RefPtr<WebKit::WebContextMenuItem>>& /* proposedMenu */, Vector<RefPtr<WebKit::WebContextMenuItem>>& /* customMenu */, const WebKit::WebHitTestResultData&, API::Object* /* userData */) { return false; }
virtual void customContextMenuItemSelected(WebKit::WebPageProxy&, const WebKit::WebContextMenuItemData&) { }
- virtual void contextMenuDismissed(WebKit::WebPageProxy&) { }
virtual bool showContextMenu(WebKit::WebPageProxy&, const WebCore::IntPoint&, const Vector<RefPtr<WebKit::WebContextMenuItem>>&) { return false; }
virtual bool hideContextMenu(WebKit::WebPageProxy&) { return false; }
};
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp (191592 => 191593)
--- trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp 2015-10-26 19:15:25 UTC (rev 191592)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp 2015-10-26 19:20:09 UTC (rev 191593)
@@ -838,14 +838,6 @@
m_client.customContextMenuItemSelected(toAPI(&page), toAPI(WebContextMenuItem::create(itemData).ptr()), m_client.base.clientInfo);
}
- virtual void contextMenuDismissed(WebPageProxy& page) override
- {
- if (!m_client.contextMenuDismissed)
- return;
-
- m_client.contextMenuDismissed(toAPI(&page), m_client.base.clientInfo);
- }
-
virtual bool showContextMenu(WebPageProxy& page, const WebCore::IntPoint& menuLocation, const Vector<RefPtr<WebContextMenuItem>>& menuItemsVector) override
{
if (!m_client.showContextMenu)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes