#pragma once

#include <LibJS/Runtime/NativeFunction.h>
#include <LibJS/Runtime/Object.h>
#include <LibWeb/Bindings/InterfaceObject.h>

namespace Web::Bindings {

struct HTMLEmbedElementConstructor {
public:
    static void initialize(JS::Realm&, JS::NativeFunction&);
    static JS::ThrowCompletionOr<GC::Ref<JS::Object>> construct(InterfaceConstructor&, JS::FunctionObject&);

private:
};

struct HTMLEmbedElementPrototype {
public:
    static void initialize(JS::Realm&, JS::Object&);
    static void define_unforgeable_attributes(JS::Realm&, JS::Object&);

private:
    JS_DECLARE_NATIVE_FUNCTION(src_getter);
    JS_DECLARE_NATIVE_FUNCTION(src_setter);
    JS_DECLARE_NATIVE_FUNCTION(type_getter);
    JS_DECLARE_NATIVE_FUNCTION(type_setter);
    JS_DECLARE_NATIVE_FUNCTION(width_getter);
    JS_DECLARE_NATIVE_FUNCTION(width_setter);
    JS_DECLARE_NATIVE_FUNCTION(height_getter);
    JS_DECLARE_NATIVE_FUNCTION(height_setter);
    JS_DECLARE_NATIVE_FUNCTION(align_getter);
    JS_DECLARE_NATIVE_FUNCTION(align_setter);
    JS_DECLARE_NATIVE_FUNCTION(name_getter);
    JS_DECLARE_NATIVE_FUNCTION(name_setter);
};

} // namespace Web::Bindings
