[webkit-changes] [WebKit/WebKit] b2db74: Move more ivars from WKWebViewConfiguration to API...
Alex Christensen
noreply at github.com
Thu Mar 21 19:53:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b2db7454f86da1a03978a6d4460b02c8b9245558
https://github.com/WebKit/WebKit/commit/b2db7454f86da1a03978a6d4460b02c8b9245558
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-03-21 (Thu, 21 Mar 2024)
Changed paths:
M Source/WebKit/SourcesCocoa.txt
M Source/WebKit/UIProcess/API/APIPageConfiguration.h
A Source/WebKit/UIProcess/API/Cocoa/APIPageConfigurationCocoa.mm
M Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.mm
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h
M Source/WebKit/UIProcess/API/Cocoa/_WKTargetedElementInfo.mm
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
Move more ivars from WKWebViewConfiguration to API::PageConfiguration
https://bugs.webkit.org/show_bug.cgi?id=271405
rdar://125186260
Reviewed by Charlie Wolfe.
* Source/WebKit/SourcesCocoa.txt:
* Source/WebKit/UIProcess/API/APIPageConfiguration.h:
(API::PageConfiguration::inlineMediaPlaybackRequiresPlaysInlineAttribute const):
(API::PageConfiguration::setInlineMediaPlaybackRequiresPlaysInlineAttribute):
(API::PageConfiguration::allowsInlineMediaPlaybackAfterFullscreen const):
(API::PageConfiguration::setAllowsInlineMediaPlaybackAfterFullscreen):
(API::PageConfiguration::mediaDataLoadsAutomatically const):
(API::PageConfiguration::setMediaDataLoadsAutomatically):
(API::PageConfiguration::dragLiftDelay const):
(API::PageConfiguration::setDragLiftDelay):
(API::PageConfiguration::textInteractionGesturesEnabled const):
(API::PageConfiguration::setTextInteractionGesturesEnabled):
(API::PageConfiguration::longPressActionsEnabled const):
(API::PageConfiguration::setLongPressActionsEnabled):
(API::PageConfiguration::systemPreviewEnabled const):
(API::PageConfiguration::setSystemPreviewEnabled):
(API::PageConfiguration::shouldDecidePolicyBeforeLoadingQuickLookPreview const):
(API::PageConfiguration::setShouldDecidePolicyBeforeLoadingQuickLookPreview):
* Source/WebKit/UIProcess/API/Cocoa/APIPageConfigurationCocoa.mm: Added.
(API::PageConfiguration::Data::defaultShouldDecidePolicyBeforeLoadingQuickLookPreview):
(API::PageConfiguration::Data::defaultDragLiftDelay):
* Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.mm:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(toDragLiftDelay):
(toWKDragLiftDelay):
(fromWKDragLiftDelay):
(-[WKWebViewConfiguration init]):
(-[WKWebViewConfiguration copyWithZone:]):
(-[WKWebViewConfiguration _inlineMediaPlaybackRequiresPlaysInlineAttribute]):
(-[WKWebViewConfiguration _setInlineMediaPlaybackRequiresPlaysInlineAttribute:]):
(-[WKWebViewConfiguration _allowsInlineMediaPlaybackAfterFullscreen]):
(-[WKWebViewConfiguration _setAllowsInlineMediaPlaybackAfterFullscreen:]):
(-[WKWebViewConfiguration _dragLiftDelay]):
(-[WKWebViewConfiguration _setDragLiftDelay:]):
(-[WKWebViewConfiguration _longPressActionsEnabled]):
(-[WKWebViewConfiguration _setLongPressActionsEnabled:]):
(-[WKWebViewConfiguration _systemPreviewEnabled]):
(-[WKWebViewConfiguration _setSystemPreviewEnabled:]):
(-[WKWebViewConfiguration _shouldDecidePolicyBeforeLoadingQuickLookPreview]):
(-[WKWebViewConfiguration _setShouldDecidePolicyBeforeLoadingQuickLookPreview:]):
(-[WKWebViewConfiguration _mediaDataLoadsAutomatically]):
(-[WKWebViewConfiguration _setMediaDataLoadsAutomatically:]):
(-[WKWebViewConfiguration _textInteractionGesturesEnabled]):
(-[WKWebViewConfiguration _setTextInteractionGesturesEnabled:]):
(defaultShouldDecidePolicyBeforeLoadingQuickLookPreview): Deleted.
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Canonical link: https://commits.webkit.org/276517@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