Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 09150f408020a7eebfdd37343b14ed647b45a5ab https://github.com/WebKit/WebKit/commit/09150f408020a7eebfdd37343b14ed647b45a5ab Author: Richard Robinson <richard_robins...@apple.com> Date: 2025-09-15 (Mon, 15 Sep 2025)
Changed paths: M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h M Source/WebKit/UIProcess/API/Swift/WebPage.swift M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm M Source/WebKit/_WebKit_SwiftUI/API/View+WebViewModifiers.swift M Source/WebKit/_WebKit_SwiftUI/API/WebView.swift M Source/WebKit/_WebKit_SwiftUI/Implementation/EnvironmentValues+Extras.swift M Source/WebKit/_WebKit_SwiftUI/Implementation/ViewModifierContexts.swift M Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift A Tools/SwiftBrowser/Source/Modifiers/WebContextMenu.swift A Tools/SwiftBrowser/Source/Modifiers/WebToolbarModifier.swift M Tools/SwiftBrowser/Source/SwiftBrowser.swift M Tools/SwiftBrowser/Source/ViewModel/AppStorageKeys.swift M Tools/SwiftBrowser/Source/Views/BrowserView.swift M Tools/SwiftBrowser/Source/Views/ContentView.swift M Tools/SwiftBrowser/Source/Views/SettingsView.swift M Tools/SwiftBrowser/SwiftBrowser.xcodeproj/project.pbxproj M Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm Log Message: ----------- [SwiftUI] Add more functionality to SwiftBrowser to aid debugging https://bugs.webkit.org/show_bug.cgi?id=298846 rdar://160587389 Reviewed by Aditya Keerthi. - Make it possible for SwiftBrowser to toggle the "_editable" property - Make it possible for SwiftBrowser to toggle Smart Lists enablement - Adapt SwiftBrowser for Liquid Glass, and make it possible to control the scroll edge effect style - Make it possible for SwiftBrowser to toggle web preference feature flags - Refactor SwiftBrowser views for better composition - Add some icons to menu bar items - Fix some formatting * Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h: * Source/WebKit/UIProcess/API/Swift/WebPage.swift: (isEditable): (smartListsEnabled): * Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm: (-[WKWebView _isSmartListsEnabled]): (-[WKWebView _setSmartListsEnabled:]): (-[WKWebView _toggleSmartLists:]): (-[WKWebView isSmartListsEnabled]): Deleted. (-[WKWebView setSmartListsEnabled:]): Deleted. (-[WKWebView toggleSmartLists:]): Deleted. * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::WebViewImpl::firstRectForCharacterRange): * Source/WebKit/_WebKit_SwiftUI/API/View+WebViewModifiers.swift: (View.webViewScrollEdgeEffectStyle(_:for:)): * Source/WebKit/_WebKit_SwiftUI/API/WebView.swift: (WebPreferenceFeature.allowSmartLists): * Source/WebKit/_WebKit_SwiftUI/Implementation/EnvironmentValues+Extras.swift: (EnvironmentValues.webViewScrollEdgeEffectStyleContext): * Source/WebKit/_WebKit_SwiftUI/Implementation/ViewModifierContexts.swift: (WebPreferenceContext.features): (WebPreferenceContext.isEmpty): * Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift: (WebViewRepresentable.updatePlatformView(_:context:)): * Tools/SwiftBrowser/Source/Modifiers/WebContextMenu.swift: Added. (WebContextMenu.body(_:)): (View.webContextMenu): * Tools/SwiftBrowser/Source/Modifiers/WebToolbarModifier.swift: Added. (body): (LabelConfiguration.body): (WebToolbarModifier.findNavigatorIsPresented): (WebToolbarModifier.body(_:)): (View.webToolbar(_:)): * Tools/SwiftBrowser/Source/SwiftBrowser.swift: (SwiftBrowserApp.mostRecentURL): (SwiftBrowserApp.body): * Tools/SwiftBrowser/Source/ViewModel/AppStorageKeys.swift: * Tools/SwiftBrowser/Source/Views/BrowserView.swift: (BrowserView.url): (BrowserView.body): * Tools/SwiftBrowser/Source/Views/ContentView.swift: (ContentView.url): (ContentView.scrollBounceBehaviorBasedOnSize): (ContentView.backgroundHidden): (ContentView.showColorInTabBar): (ContentView.body): (body): Deleted. (LabelConfiguration.body): Deleted. (PrincipalToolbarGroup.body): Deleted. * Tools/SwiftBrowser/Source/Views/SettingsView.swift: (PermissionDecisionView.permissionDecision): (BinaryValuePicker.value): (GeneralSettingsView.body): * Tools/SwiftBrowser/SwiftBrowser.xcodeproj/project.pbxproj: * Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm: (TEST(SmartLists, EnablementIsLogicallyConsistentWhenInterfacedThroughResponder)): Canonical link: https://commits.webkit.org/299974@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes