Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b705a4990eba19136ff0e2ff448a6ccbf13b76a
      
https://github.com/WebKit/WebKit/commit/9b705a4990eba19136ff0e2ff448a6ccbf13b76a
  Author: Brady Eidson <[email protected]>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegate.h
    M Source/WebKit/UIProcess/Cocoa/NavigationState.h
    M Source/WebKit/UIProcess/Cocoa/NavigationState.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm

  Log Message:
  -----------
  Make back/forward policy delegate API
rdar://146401641
https://bugs.webkit.org/show_bug.cgi?id=289285

Reviewed by Chris Dumez and Basuke Suzuki.

* Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegate.h:

* Source/WebKit/UIProcess/Cocoa/NavigationState.h:
* Source/WebKit/UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::setNavigationDelegate):
(WebKit::NavigationState::NavigationClient::shouldGoToBackForwardListItem):

* Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
(-[BackForwardDelegateWithShouldGo 
webView:shouldGoToBackForwardListItem:willUseInstantBack:completionHandler:]):
(-[BackForwardDelegateWithShouldGo 
_webView:shouldGoToBackForwardListItem:inPageCache:completionHandler:]):
(-[BackForwardDelegateWithShouldGo webView:didFinishNavigation:]):
(-[BackForwardDelegateWithShouldGoSPI 
_webView:willGoToBackForwardListItem:inPageCache:]):
(TEST(WKNavigation, ShouldGoToBackForwardListItem)):

Canonical link: https://commits.webkit.org/291747@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

Reply via email to