[webkit-changes] [WebKit/WebKit] a469a3: [Unified Text Replacement] Don’t show ‘swap charac...
Richard Robinson
noreply at github.com
Fri Mar 29 19:30:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a469a3e0981a541b27de0249d770ae04d1f00fab
https://github.com/WebKit/WebKit/commit/a469a3e0981a541b27de0249d770ae04d1f00fab
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
M Source/WebKit/UIProcess/PageClient.h
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/mac/PageClientImplMac.h
M Source/WebKit/UIProcess/mac/PageClientImplMac.mm
M Source/WebKit/UIProcess/mac/WebContextMenuProxyMac.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.h
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
[Unified Text Replacement] Don’t show ‘swap characters’ context menu item when not applicable
https://bugs.webkit.org/show_bug.cgi?id=271501
rdar://125263405
Reviewed by Aditya Keerthi and Megan Gardner.
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::canHandleSwapCharacters const):
(WebKit::WebPageProxy::requestActiveNowPlayingSessionInfo):
* Source/WebKit/UIProcess/PageClient.h:
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/mac/PageClientImplMac.h:
* Source/WebKit/UIProcess/mac/PageClientImplMac.mm:
(WebKit::PageClientImpl::canHandleSwapCharacters const):
* Source/WebKit/UIProcess/mac/WebContextMenuProxyMac.mm:
(WebKit::WebContextMenuProxyMac::getContextMenuFromItems):
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::canHandleSwapCharacters const):
(WebKit::WebViewImpl::handleContextMenuSwapCharacters):
Canonical link: https://commits.webkit.org/276853@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list