Commit Graph

4 Commits

Author SHA1 Message Date
Timothy Flynn
cd69ebdecd LibWeb: Implement the DataTransferItem kind and type attributes
(cherry picked from commit 001d8384e5ea51e2a435517814d299174d65d786)
2024-11-01 22:04:14 -04:00
Timothy Flynn
2dac492cde LibWeb: Add a factory method to create a DataTransferItem
A DataTransferItem is associated with a DataTransfer, and points to an
item in the drag data store. We don't yet support removing items from
the store, but when we do, we will clear the index stored here to set
the DataTransferItem's mode to "disabled".

(cherry picked from commit c82fec0a8cc871aa331de5a557db1adddca7711c)
2024-11-01 22:04:14 -04:00
Timothy Flynn
be9e3f6671 LibWeb: Remove unused DataTransfer-related IDL factories
The IDL for DataTransferItem and DataTransferItemList do not have
constructors.

(cherry picked from commit 34ad67e056dd9c290109ab00ee6e6a1c1d82560a)
2024-11-01 22:04:14 -04:00
Timothy Flynn
7afdd457af LibWeb: Add an empty DataTransferItem IDL implementation
(cherry picked from commit 9e3c6921ab541cddeda186460ee96dc8e56a7192)
2024-11-01 19:58:08 -04:00