ladybird/Userland/Libraries/LibWeb/HTML/DataTransferItemList.h
Timothy Flynn 34ad67e056 LibWeb: Remove unused DataTransfer-related IDL factories
The IDL for DataTransferItem and DataTransferItemList do not have
constructors.
2024-08-22 14:21:13 +02:00

28 lines
651 B
C++

/*
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Forward.h>
#include <LibWeb/Bindings/PlatformObject.h>
namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/dnd.html#the-datatransferitemlist-interface
class DataTransferItemList : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(DataTransferItemList, Bindings::PlatformObject);
JS_DECLARE_ALLOCATOR(DataTransferItemList);
public:
virtual ~DataTransferItemList() override;
private:
DataTransferItemList(JS::Realm&);
virtual void initialize(JS::Realm&) override;
};
}