2020-08-01 05:04:26 +03:00
|
|
|
/*
|
2021-04-28 23:46:44 +03:00
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
2020-08-01 05:04:26 +03:00
|
|
|
*
|
2021-04-22 11:24:48 +03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-08-01 05:04:26 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
2022-06-27 21:48:54 +03:00
|
|
|
#include <LibWeb/HTML/WindowEventHandlers.h>
|
2020-08-01 05:04:26 +03:00
|
|
|
|
|
|
|
namespace Web::HTML {
|
|
|
|
|
|
|
|
// NOTE: This element is marked as obsolete, but is still listed as required by the specification.
|
2022-06-27 21:48:54 +03:00
|
|
|
class HTMLFrameSetElement final
|
|
|
|
: public HTMLElement
|
|
|
|
, public WindowEventHandlers {
|
2022-08-28 14:42:07 +03:00
|
|
|
WEB_PLATFORM_OBJECT(HTMLFrameSetElement, HTMLElement);
|
|
|
|
|
2020-08-01 05:04:26 +03:00
|
|
|
public:
|
2022-08-28 14:42:07 +03:00
|
|
|
virtual ~HTMLFrameSetElement() override;
|
2020-08-01 05:04:26 +03:00
|
|
|
|
2022-08-28 14:42:07 +03:00
|
|
|
private:
|
2022-02-18 23:00:52 +03:00
|
|
|
HTMLFrameSetElement(DOM::Document&, DOM::QualifiedName);
|
2022-06-27 21:20:09 +03:00
|
|
|
|
2023-01-28 20:33:35 +03:00
|
|
|
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
2023-01-09 03:23:00 +03:00
|
|
|
virtual void parse_attribute(DeprecatedFlyString const&, DeprecatedString const&) override;
|
2022-06-27 21:48:54 +03:00
|
|
|
|
2022-06-27 21:20:09 +03:00
|
|
|
// ^HTML::GlobalEventHandlers
|
2023-04-06 08:25:18 +03:00
|
|
|
virtual EventTarget& global_event_handlers_to_event_target(FlyString const& event_name) override;
|
2022-06-27 21:48:54 +03:00
|
|
|
|
|
|
|
// ^HTML::WindowEventHandlers
|
|
|
|
virtual EventTarget& window_event_handlers_to_event_target() override;
|
2020-08-01 05:04:26 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|