[webkit-changes] [WebKit/WebKit] 4ea46d: Cherry-pick 261740 at main (ec3dd91419a8). https://bu...

Carlos Garcia Campos noreply at github.com
Thu Mar 16 13:22:53 PDT 2023


  Branch: refs/heads/webkitglib/2.40
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ea46d96c6452b27b98a50c51468d7571edb038b
      https://github.com/WebKit/WebKit/commit/4ea46d96c6452b27b98a50c51468d7571edb038b
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M LayoutTests/platform/gtk/TestExpectations
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/async-clipboard/Clipboard.cpp
    M Source/WebCore/Modules/async-clipboard/Clipboard.h
    M Source/WebCore/Modules/async-clipboard/ClipboardImageReader.cpp
    M Source/WebCore/platform/Pasteboard.cpp
    M Source/WebCore/platform/Pasteboard.h
    M Source/WebCore/platform/PasteboardStrategy.h
    M Source/WebCore/platform/gtk/PasteboardGtk.cpp
    M Source/WebCore/platform/gtk/SelectionData.cpp
    M Source/WebCore/platform/gtk/SelectionData.h
    M Source/WebKit/UIProcess/WebPasteboardProxy.cpp
    M Source/WebKit/UIProcess/WebPasteboardProxy.h
    M Source/WebKit/UIProcess/WebPasteboardProxy.messages.in
    M Source/WebKit/UIProcess/gtk/Clipboard.h
    M Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp
    M Source/WebKit/UIProcess/gtk/ClipboardGtk4.cpp
    M Source/WebKit/UIProcess/gtk/WebPasteboardProxyGtk.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.h

  Log Message:
  -----------
  Cherry-pick 261740 at main (ec3dd91419a8). https://bugs.webkit.org/show_bug.cgi?id=211979

    [GTK] Enable the async clipboard API
    https://bugs.webkit.org/show_bug.cgi?id=211979

    Reviewed by Wenson Hsieh.

    Enable async clipboard API and implement the required platform strategy
    functions.

    * LayoutTests/platform/gtk/TestExpectations:
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/Modules/async-clipboard/Clipboard.cpp:
    (WebCore::Clipboard::ItemWriter::write):
    (WebCore::Clipboard::ItemWriter::didSetAllData):
    * Source/WebCore/Modules/async-clipboard/Clipboard.h:
    * Source/WebCore/Modules/async-clipboard/ClipboardImageReader.cpp:
    (WebCore::ClipboardImageReader::readBuffer):
    * Source/WebCore/platform/Pasteboard.cpp:
    (WebCore::Pasteboard::allPasteboardItemInfo const):
    (WebCore::Pasteboard::pasteboardItemInfo const):
    * Source/WebCore/platform/Pasteboard.h:
    (WebCore::Pasteboard::name const):
    * Source/WebCore/platform/PasteboardStrategy.h:
    * Source/WebCore/platform/gtk/PasteboardGtk.cpp:
    (WebCore::Pasteboard::Pasteboard):
    (WebCore::Pasteboard::read):
    (WebCore::Pasteboard::writeCustomData):
    (WebCore::Pasteboard::changeCount const):
    * Source/WebCore/platform/gtk/SelectionData.cpp:
    (WebCore::SelectionData::clearAllExceptFilenames):
    * Source/WebCore/platform/gtk/SelectionData.h:
    (WebCore::SelectionData::addBuffer):
    (WebCore::SelectionData::buffers const):
    (WebCore::SelectionData::buffer):
    (WebCore::SelectionData::clearBuffers):
    * Source/WebKit/UIProcess/WebPasteboardProxy.cpp:
    (WebKit::WebPasteboardProxy::writeCustomData):
    * Source/WebKit/UIProcess/WebPasteboardProxy.h:
    * Source/WebKit/UIProcess/WebPasteboardProxy.messages.in:
    * Source/WebKit/UIProcess/gtk/Clipboard.h:
    (WebKit::Clipboard::changeCount const):
    * Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp:
    (WebKit::Clipboard::Clipboard):
    (WebKit::Clipboard::~Clipboard):
    (WebKit::ReadURLAsyncData::ReadURLAsyncData):
    (WebKit::Clipboard::readURL):
    (WebKit::Clipboard::write):
    * Source/WebKit/UIProcess/gtk/ClipboardGtk4.cpp:
    (WebKit::Clipboard::write):
    * Source/WebKit/UIProcess/gtk/WebPasteboardProxyGtk.cpp:
    (WebKit::WebPasteboardProxy::writeToClipboard):
    (WebKit::WebPasteboardProxy::writeCustomData):
    (WebKit::pasteboardIemInfoFromFormats):
    (WebKit::WebPasteboardProxy::allPasteboardItemInfo):
    (WebKit::WebPasteboardProxy::informationForItemAtIndex):
    (WebKit::WebPasteboardProxy::getPasteboardItemsCount):
    (WebKit::WebPasteboardProxy::readURLFromPasteboard):
    (WebKit::WebPasteboardProxy::readBufferFromPasteboard):
    (WebKit::WebPasteboardProxy::getPasteboardChangeCount):
    * Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
    (WebKit::WebPlatformStrategies::changeCount):
    * Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.h:

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




More information about the webkit-changes mailing list