[webkit-changes] [WebKit/WebKit] 7c93bf: Move some WKWebViewConfiguration ivars to API::Pag...
Alex Christensen
noreply at github.com
Thu Mar 14 01:06:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7c93bf95a3d4107ef243dbfe98fba8207de3bb09
https://github.com/WebKit/WebKit/commit/7c93bf95a3d4107ef243dbfe98fba8207de3bb09
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M Source/WebKit/UIProcess/API/APIPageConfiguration.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
Log Message:
-----------
Move some WKWebViewConfiguration ivars to API::PageConfiguration
https://bugs.webkit.org/show_bug.cgi?id=270957
rdar://124574976
Reviewed by Charlie Wolfe.
This is needed so we can move the configuration construction into
platform-independent code in WebPageProxy::createNewPage.
Explicit copy code is no longer needed because API::PageConfiguration::copy
uses API::PageConfiguration::Data's default copy assignment operator.
* Source/WebKit/UIProcess/API/APIPageConfiguration.h:
(API::PageConfiguration::showsURLsInToolTips const):
(API::PageConfiguration::setShowsURLsInToolTips):
(API::PageConfiguration::serviceControlsEnabled const):
(API::PageConfiguration::setServiceControlsEnabled):
(API::PageConfiguration::imageControlsEnabled const):
(API::PageConfiguration::setImageControlsEnabled):
(API::PageConfiguration::contextMenuQRCodeDetectionEnabled const):
(API::PageConfiguration::setContextMenuQRCodeDetectionEnabled):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration init]):
(-[WKWebViewConfiguration copyWithZone:]):
(-[WKWebViewConfiguration _showsURLsInToolTips]):
(-[WKWebViewConfiguration _setShowsURLsInToolTips:]):
(-[WKWebViewConfiguration _serviceControlsEnabled]):
(-[WKWebViewConfiguration _setServiceControlsEnabled:]):
(-[WKWebViewConfiguration _imageControlsEnabled]):
(-[WKWebViewConfiguration _setImageControlsEnabled:]):
(-[WKWebViewConfiguration _contextMenuQRCodeDetectionEnabled]):
(-[WKWebViewConfiguration _setContextMenuQRCodeDetectionEnabled:]):
Canonical link: https://commits.webkit.org/276075@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