Title: [294591] trunk/Source/WebKit
- Revision
- 294591
- Author
- timothy_hor...@apple.com
- Date
- 2022-05-20 16:42:42 -0700 (Fri, 20 May 2022)
Log Message
Remove unused WebPage::InteractionRegions IPC
https://bugs.webkit.org/show_bug.cgi?id=240725
Reviewed by Wenson Hsieh.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::interactionRegions): Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::interactionRegions): Deleted.
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:
Canonical link: https://commits.webkit.org/250824@main
Modified Paths
Diff
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (294590 => 294591)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2022-05-20 23:40:02 UTC (rev 294590)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2022-05-20 23:42:42 UTC (rev 294591)
@@ -11335,11 +11335,6 @@
return m_configuration->captivePortalModeEnabled();
}
-void WebPageProxy::interactionRegions(FloatRect rectInContentCoordinates, CompletionHandler<void(Vector<InteractionRegion>)>&& completionHandler)
-{
- sendWithAsyncReply(Messages::WebPage::InteractionRegions(rectInContentCoordinates), WTFMove(completionHandler));
-}
-
#if PLATFORM(COCOA)
void WebPageProxy::appPrivacyReportTestingData(CompletionHandler<void(const AppPrivacyReportTestingData&)>&& completionHandler)
{
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.h (294590 => 294591)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.h 2022-05-20 23:40:02 UTC (rev 294590)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.h 2022-05-20 23:42:42 UTC (rev 294591)
@@ -2089,8 +2089,6 @@
void classifyModalContainerControls(Vector<String>&& texts, CompletionHandler<void(Vector<WebCore::ModalContainerControlType>&&)>&&);
void decidePolicyForModalContainer(OptionSet<WebCore::ModalContainerControlType>, CompletionHandler<void(WebCore::ModalContainerDecision)>&&);
- void interactionRegions(WebCore::FloatRect rectInContentCoordinates, CompletionHandler<void(Vector<WebCore::InteractionRegion>)>&&);
-
#if ENABLE(SERVICE_WORKER)
void setServiceWorkerOpenWindowCompletionCallback(CompletionHandler<void(std::optional<WebCore::PageIdentifier>)>&& completionCallback)
{
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (294590 => 294591)
--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2022-05-20 23:40:02 UTC (rev 294590)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2022-05-20 23:42:42 UTC (rev 294591)
@@ -6424,11 +6424,6 @@
sendEditorStateUpdate();
}
-void WebPage::interactionRegions(FloatRect rectInContentCoordinates, CompletionHandler<void(Vector<InteractionRegion>)>&& completionHandler)
-{
- completionHandler(WebCore::interactionRegions(*m_page, rectInContentCoordinates));
-}
-
void WebPage::navigateServiceWorkerClient(ScriptExecutionContextIdentifier documentIdentifier, const URL& url, CompletionHandler<void(bool)>&& callback)
{
#if ENABLE(SERVICE_WORKER)
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.h (294590 => 294591)
--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.h 2022-05-20 23:40:02 UTC (rev 294590)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.h 2022-05-20 23:42:42 UTC (rev 294591)
@@ -945,7 +945,6 @@
void didUpdateComposition();
void didEndUserTriggeredSelectionChanges();
- void interactionRegions(WebCore::FloatRect rectInContentCoordinates, CompletionHandler<void(Vector<WebCore::InteractionRegion>)>&&);
void navigateServiceWorkerClient(WebCore::ScriptExecutionContextIdentifier, const URL&, CompletionHandler<void(bool)>&&);
#if PLATFORM(COCOA)
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in (294590 => 294591)
--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in 2022-05-20 23:40:02 UTC (rev 294590)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in 2022-05-20 23:42:42 UTC (rev 294591)
@@ -680,8 +680,6 @@
ScrollToRect(WebCore::FloatRect targetRect, WebCore::FloatPoint origin)
- InteractionRegions(WebCore::FloatRect rectInContentCoordinates) -> (Vector<WebCore::InteractionRegion> regions)
-
NavigateServiceWorkerClient(WebCore::ScriptExecutionContextIdentifier documentIdentifier, URL url) -> (bool result)
#if ENABLE(ARKIT_INLINE_PREVIEW_IOS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes