Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 9ee8898cb37eafe7d6fee49385b932dfd0ef447a https://github.com/WebKit/WebKit/commit/9ee8898cb37eafe7d6fee49385b932dfd0ef447a Author: David Kilzer <ddkil...@apple.com> Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths: M Source/WebCore/Modules/applepay/ApplePayLogoSystemImage.h M Source/WebCore/Modules/system-preview/ARKitBadgeSystemImage.h M Source/WebCore/platform/graphics/mac/AppKitControlSystemImage.h M Source/WebCore/platform/graphics/mac/ScrollbarTrackCornerSystemImageMac.h M Source/WebCore/platform/graphics/mac/ScrollbarTrackCornerSystemImageMac.mm M Source/WebKit/Scripts/generate-serializers.py M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h M Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp M Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in M Source/WebKit/Shared/WebCoreArgumentCoders.h M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in R Source/WebKit/Shared/mac/WebCoreArgumentCodersMac.mm M Source/WebKit/SourcesCocoa.txt M Source/WebKit/WebKit.xcodeproj/project.pbxproj Log Message: ----------- Generate serialization for WebCore::AppKitControlSystemImage https://bugs.webkit.org/show_bug.cgi?id=268832 <rdar://122396630> Reviewed by Alex Christensen. * Source/WebCore/Modules/applepay/ApplePayLogoSystemImage.h: * Source/WebCore/Modules/system-preview/ARKitBadgeSystemImage.h: - Make subclasses of WebCore::SystemImage fast allocated. * Source/WebCore/platform/graphics/mac/AppKitControlSystemImage.h: - Make subclass of WebCore::SystemImage fast allocated. - Add struct IPC::ArgumentCoder as friend for encoding/decoding. * Source/WebCore/platform/graphics/mac/ScrollbarTrackCornerSystemImageMac.h: - Make subclass of WebCore::SystemImage fast allocated. (WebCore::ScrollbarTrackCornerSystemImageMac::create): Add. - Move implementation to source file. - Declare overloaded create() method that takes instance variable values. * Source/WebCore/platform/graphics/mac/ScrollbarTrackCornerSystemImageMac.mm: (WebCore::ScrollbarTrackCornerSystemImageMac::create): Add. - Move implementation from header to here. - Add implementation of create() method that takes instance variable values. * Source/WebKit/Scripts/generate-serializers.py: (SerializedType.__init__): - Add support for 'ConstructSubclass' attribute. (SerializedType.namespace_and_name_for_construction): Add. - Return correct class when 'ConstructSubclass' is used. (construct_type): - Make use of namespace_and_name_for_construction().with * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp: (IPC::ArgumentCoder<WebCore::AppKitControlSystemImage>::encode): (IPC::ArgumentCoder<WebCore::AppKitControlSystemImage>::decode): * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h: * Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp: (WebKit::allSerializedTypes): * Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in: - Update serialization tests. * Source/WebKit/Shared/WebCoreArgumentCoders.h: - Remove declarations for WebCore::AppKitControlSystemImage. * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: - Define serialization for WebCore::AppKitControlSystemImage. * Source/WebKit/Shared/mac/WebCoreArgumentCodersMac.mm: Remove. * Source/WebKit/SourcesCocoa.txt: * Source/WebKit/WebKit.xcodeproj/project.pbxproj: - Remove WebCoreArgumentCodersMac.mm from the project. Canonical link: https://commits.webkit.org/274354@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes