Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 41e8f107db1c092980668ad788326ae5b5354dd9
https://github.com/WebKit/WebKit/commit/41e8f107db1c092980668ad788326ae5b5354dd9
Author: Claudio Saavedra <[email protected]>
Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths:
M Source/WebCore/platform/gtk/PasteboardGtk.cpp
M Source/WebCore/platform/gtk/SelectionData.cpp
M Source/WebCore/platform/gtk/SelectionData.h
M Source/WebKit/PlatformGTK.cmake
M Source/WebKit/Shared/gtk/ArgumentCodersGtk.cpp
M Source/WebKit/Shared/gtk/ArgumentCodersGtk.h
A Source/WebKit/Shared/gtk/ArgumentCodersGtk.serialization.in
M Source/WebKit/UIProcess/API/gtk/DragSourceGtk3.cpp
M Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp
Log Message:
-----------
[GTK] Port SelectionData to new IPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=271836
Reviewed by Carlos Garcia Campos.
Remove the ArgumentCoders for SelectionData, adapt the
class a bit to make it work well with the generated serializers,
and add a new ArgumentCodersGtk.serialization.in for the
GTK-specific serializers.
* Source/WebCore/platform/gtk/PasteboardGtk.cpp:
(WebCore::Pasteboard::typesSafeForBindings):
(WebCore::Pasteboard::readOrigin):
(WebCore::Pasteboard::readStringInCustomData):
* Source/WebCore/platform/gtk/SelectionData.cpp:
(WebCore::SelectionData::SelectionData):
* Source/WebCore/platform/gtk/SelectionData.h:
(WebCore::SelectionData::setImage):
(WebCore::SelectionData::image const):
(WebCore::SelectionData::customData const):
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/Shared/gtk/ArgumentCodersGtk.cpp:
(IPC::encodeImage): Deleted.
(IPC::decodeImage): Deleted.
(IPC::ArgumentCoder<SelectionData>::encode): Deleted.
(IPC::ArgumentCoder<SelectionData>::decode): Deleted.
* Source/WebKit/Shared/gtk/ArgumentCodersGtk.h:
* Source/WebKit/Shared/gtk/ArgumentCodersGtk.serialization.in: Added.
* Source/WebKit/UIProcess/API/gtk/DragSourceGtk3.cpp:
(WebKit::DragSource::DragSource):
* Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp:
(WebKit::Clipboard::write):
Canonical link: https://commits.webkit.org/276991@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes