mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 12:17:52 +00:00
LibWeb: Implement the DataTransfer items attribute
This commit is contained in:
parent
34ad67e056
commit
1b70362954
Notes:
github-actions[bot]
2024-08-22 12:23:05 +00:00
Author: https://github.com/trflynn89
Commit: 1b70362954
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1158
Reviewed-by: https://github.com/shannonbooth
5 changed files with 43 additions and 3 deletions
|
@ -17,12 +17,16 @@ class DataTransferItemList : public Bindings::PlatformObject {
|
|||
JS_DECLARE_ALLOCATOR(DataTransferItemList);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DataTransferItemList> create(JS::Realm&, JS::NonnullGCPtr<DataTransfer>);
|
||||
virtual ~DataTransferItemList() override;
|
||||
|
||||
private:
|
||||
DataTransferItemList(JS::Realm&);
|
||||
DataTransferItemList(JS::Realm&, JS::NonnullGCPtr<DataTransfer>);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(JS::Cell::Visitor&) override;
|
||||
|
||||
JS::NonnullGCPtr<DataTransfer> m_data_transfer;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue