[webkit-changes] [WebKit/WebKit] dc64dd: [MultiRep HEIC] Add support for matching style via...

Aditya Keerthi noreply at github.com
Mon Jun 3 10:58:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc64ddecd5016f366828681647a09813f67c2f51
      https://github.com/WebKit/WebKit/commit/dc64ddecd5016f366828681647a09813f67c2f51
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M Source/WebCore/page/DragController.cpp
    M Source/WebCore/platform/DragData.h
    M Source/WebCore/platform/cocoa/DragDataCocoa.mm
    M Source/WebCore/platform/gtk/DragDataGtk.cpp
    M Source/WebCore/platform/win/DragDataWin.cpp

  Log Message:
  -----------
  [MultiRep HEIC] Add support for matching style via drag and drop
https://bugs.webkit.org/show_bug.cgi?id=275042
rdar://128092529

Reviewed by Richard Robinson, Abrar Rahman Protyasha and Wenson Hsieh.

* Source/WebCore/page/DragController.cpp:
(WebCore::DragController::concludeEditDrag):
* Source/WebCore/platform/DragData.h:
* Source/WebCore/platform/cocoa/DragDataCocoa.mm:
(WebCore::DragData::shouldMatchStyleOnDrop const):

Consult declared pasteboard types to decide whether to match style when dropping
a multi-representation HEIC into web content.

* Source/WebCore/platform/gtk/DragDataGtk.cpp:
(WebCore::DragData::shouldMatchStyleOnDrop const):
* Source/WebCore/platform/win/DragDataWin.cpp:
(WebCore::DragData::shouldMatchStyleOnDrop const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list