[webkit-changes] [WebKit/WebKit] 150a22: Web Extensions: Add private delegate method that n...
Timothy Hatcher
noreply at github.com
Mon Dec 11 11:50:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 150a22d4b08e2f213bdf7e9efcc221698c6afccc
https://github.com/WebKit/WebKit/commit/150a22d4b08e2f213bdf7e9efcc221698c6afccc
Author: Timothy Hatcher <timothy at apple.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionControllerDelegatePrivate.h
M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm
Log Message:
-----------
Web Extensions: Add private delegate method that notifies when the background web view is created.
https://webkit.org/b/266243
rdar://problem/119505609
Reviewed by Brian Weinstein.
Added _webExtensionController:didCreateBackgroundWebView:forExtensionContext:. Safari needs this
to hook up additional APIs temporarily.
* Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionControllerDelegatePrivate.h:
* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::loadBackgroundWebView): Call the delegate method.
Canonical link: https://commits.webkit.org/271893@main
More information about the webkit-changes
mailing list