Bug 173815 - Move the Mac WK2 and iOS (WK1 and WK2) drag and drop implementations off of the legacy codepath
Summary: Move the Mac WK2 and iOS (WK1 and WK2) drag and drop implementations off of t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-24 19:51 PDT by Wenson Hsieh
Modified: 2017-06-26 16:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2017-06-24 19:51:01 PDT
In <http://trac.webkit.org/changeset/212663>, a new dragging codepath was introduced that packages dragging information (e.g. drag image and pasteboard data) into a common DragItem struct. However, this is currently only used for Mac WK1. We should do the following for Mac WK2 and iOS (both WK1 and WK2):

- Use DragItem to propagate drag information when initiating a drag
- Use PasteboardWriterData to write data to the NSPasteboard/UIPasteboard/WebItemProviderPasteboard