Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1e8ea6e4777297ce82e6c911caa7cce2cc32e6a9 https://github.com/WebKit/WebKit/commit/1e8ea6e4777297ce82e6c911caa7cce2cc32e6a9 Author: Ari Young <ari_yo...@apple.com> Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths: M Source/WebKit/DerivedSources-input.xcfilelist M Source/WebKit/DerivedSources.make A Source/WebKit/Shared/Extensions/WebExtensionSidebarParameters.h A Source/WebKit/Shared/Extensions/WebExtensionSidebarParameters.serialization.in A Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPISidebarCocoa.mm M Source/WebKit/UIProcess/Extensions/WebExtensionContext.h M Source/WebKit/UIProcess/Extensions/WebExtensionContext.messages.in M Source/WebKit/WebKit.xcodeproj/project.pbxproj M Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPISidebarActionCocoa.mm M Source/WebKit/WebProcess/Extensions/API/WebExtensionAPISidebarAction.h M Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPISidebarAction.idl Log Message: ----------- Outline messaging scheme between WebProcess and UIProcess for sidePanel / sidebarAction. https://webkit.org/b/277169 rdar://132595403 Reviewed by Timothy Hatcher. This PR adds several messages and receiver functions on WebExtensionContext, and one associated serializable type, in order to facilitate the messaging between the Web and UI processes necessary for sidePanel / sidebarAction. * Source/WebKit/DerivedSources-input.xcfilelist: Add WebExtensionSidebarParameters.serialization.in * Source/WebKit/DerivedSources.make: Add WebExtensionWidebarParameters.serialization.in * Source/WebKit/Shared/Extensions/WebExtensionSidebarParameters.h: Added. * Source/WebKit/Shared/Extensions/WebExtensionSidebarParameters.serialization.in: Added. * Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPISidebarCocoa.mm: Added. (WebKit::WebExtensionContext::sidebarOpen): Added stub. (WebKit::WebExtensionContext::sidebarClose): Added stub. (WebKit::WebExtensionContext::sidebarIsOpen): Added stub. (WebKit::WebExtensionContext::sidebarToggle): Added stub. (WebKit::WebExtensionContext::sidebarSetIcon): Added stub. (WebKit::WebExtensionContext::sidebarGetTitle): Added stub. (WebKit::WebExtensionContext::sidebarSetTitle): Added stub. (WebKit::WebExtensionContext::sidebarGetOptions): Added stub. (WebKit::WebExtensionContext::sidebarSetOptions): Added stub. (WebKit::WebExtensionContext::isSidebarMessageAllowed): Added stub which returns false always. * Source/WebKit/UIProcess/Extensions/WebExtensionContext.h: Added declaration of sidebar message receivers. * Source/WebKit/UIProcess/Extensions/WebExtensionContext.messages.in: Added sidebar messages. * Source/WebKit/WebKit.xcodeproj/project.pbxproj: Added WebExtensionSidebarParameters.h and WebExtensionSidebarParameters.serialization.in * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPISidebarActionCocoa.mm: (WebKit::WebExtensionAPISidebarAction::close): No change. (WebKit::WebExtensionAPISidebarAction::toggle): No change. (WebKit::WebExtensionAPISidebarAction::isOpen): Add `details` object which was originally omitted erroneously. * Source/WebKit/WebProcess/Extensions/API/WebExtensionAPISidebarAction.h: Amend signature of `isOpen` to include `details` object. * Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPISidebarAction.idl: Amend signature of `isOpen` to include `details` object. Canonical link: https://commits.webkit.org/281519@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