/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { class SubmitEvent final : public DOM::Event { public: using WrapperType = Bindings::SubmitEventWrapper; static NonnullRefPtr create(const FlyString& event_name, RefPtr submitter); virtual ~SubmitEvent() override; RefPtr submitter() const; private: SubmitEvent(const FlyString& event_name, RefPtr submitter); RefPtr m_submitter; }; }