[webkit-changes] [WebKit/WebKit] e31512: Add SPI WKNavigationAction._targetFrameName

Alex Christensen noreply at github.com
Sat Jul 22 17:53:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e31512bd7d3f5c3e8c293beda14de57bf078003d
      https://github.com/WebKit/WebKit/commit/e31512bd7d3f5c3e8c293beda14de57bf078003d
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/APINavigationAction.h
    M Source/WebKit/UIProcess/API/Cocoa/WKNavigationAction.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h
    M Source/WebKit/UIProcess/API/glib/WebKitNavigationAction.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/NavigationAction.mm

  Log Message:
  -----------
  Add SPI WKNavigationAction._targetFrameName
https://bugs.webkit.org/show_bug.cgi?id=249505
rdar://103446360

Reviewed by Brady Eidson.

This will help the last 2 clients migrate from
WKPageSetPagePolicyClient to WKNavigationDelegate and WKUIDelegate.

* Source/WebKit/UIProcess/API/APINavigationAction.h:
* Source/WebKit/UIProcess/API/Cocoa/WKNavigationAction.mm:
(-[WKNavigationAction _targetFrameName]):
* Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForNavigationAction):
(WebKit::WebPageProxy::createNewPage):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/NavigationAction.mm:
(TEST):

Canonical link: https://commits.webkit.org/266233@main




More information about the webkit-changes mailing list