Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ea3e2c0755e17fc3b98082a54b21347cebad5448
https://github.com/WebKit/WebKit/commit/ea3e2c0755e17fc3b98082a54b21347cebad5448
Author: Jessica Cheung <[email protected]>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M Source/WebCore/dom/ViewportArguments.cpp
M Source/WebCore/dom/ViewportArguments.h
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
Log Message:
-----------
[interactive-widget] Implement logic to process interactive-widgets values
https://bugs.webkit.org/show_bug.cgi?id=296721
rdar://157158598
Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.
Add plumbing (from web process to ui process)
for the viewport meta tag interactive-widgets values,
which consist of:
1. resize-visual
2. resize-content
3. overlays-content
Set default value of interactive-widget to resizes-visual,
which is the current default behavior on iOS.
Alter setViewportFeature to include logic for checking the
feature flag.
* Source/WebCore/dom/ViewportArguments.cpp:
(WebCore::ViewportArguments::resolve const):
(WebCore::parseInteractiveWidgetValue):
(WebCore::setViewportFeature):
* Source/WebCore/dom/ViewportArguments.h:
(WebCore::ViewportArguments::ViewportArguments):
(WebCore::ViewportArguments::operator== const):
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h:
(WebKit::RemoteLayerTreeTransaction::viewportMetaTagInteractiveWidget const):
(WebKit::RemoteLayerTreeTransaction::setViewportMetaTagInteractiveWidget):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _didCommitLayerTree:]):
(-[WKWebView _clearOverrideLayoutParameters]):
(viewportArgumentsFromDictionary):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::willCommitLayerTree):
Canonical link: https://commits.webkit.org/298096@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes