Skip to content
Permalink
Browse files
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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
hortont424 committed May 20, 2022
1 parent 280e1ae commit 2d87ce85ccd3d4213deabaf6ff00f634a51797e0
Showing 5 changed files with 0 additions and 15 deletions.
@@ -11335,11 +11335,6 @@ bool WebPageProxy::shouldEnableCaptivePortalMode() const
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)
{
@@ -2089,8 +2089,6 @@ class WebPageProxy final : public API::ObjectImpl<API::Object::Type::Page>
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)
{
@@ -6424,11 +6424,6 @@ void WebPage::canceledComposition()
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)
@@ -945,7 +945,6 @@ class WebPage : public API::ObjectImpl<API::Object::Type::BundlePage>, public IP
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)
@@ -680,8 +680,6 @@ GenerateSyntheticEditingCommand(enum:uint8_t WebKit::SyntheticEditingCommandType

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)

0 comments on commit 2d87ce8

Please sign in to comment.