Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 512a6e328b7fcbc4dd993003529b02b0f25517d7
      
https://github.com/WebKit/WebKit/commit/512a6e328b7fcbc4dd993003529b02b0f25517d7
  Author: Brady Eidson <[email protected]>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebKit/UIProcess/API/Cocoa/WKUIDelegate.h
    M Source/WebKit/UIProcess/Cocoa/UIDelegate.h
    M Source/WebKit/UIProcess/Cocoa/UIDelegate.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm

  Log Message:
  -----------
  WKUIDelegate should provide a hook for page-specific location prompts
rdar://127103852
https://bugs.webkit.org/show_bug.cgi?id=140208

Reviewed by Rupin Mittal and Aditya Keerthi.

Promote this delegate to API.
Leave the SPI version in place for bin compat.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm

* Source/WebKit/UIProcess/API/Cocoa/WKUIDelegate.h:
* Source/WebKit/UIProcess/Cocoa/UIDelegate.h:
* Source/WebKit/UIProcess/Cocoa/UIDelegate.mm:
(WebKit::UIDelegate::setDelegate):
(WebKit::UIDelegate::UIClient::decidePolicyForGeolocationPermissionRequest):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
(-[GeolocationDelegateNew 
_webView:requestGeolocationPermissionForOrigin:initiatedByFrame:decisionHandler:]):
(-[GeolocationDelegateNew 
webView:requestGeolocationPermissionForOrigin:initiatedByFrame:decisionHandler:]):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to