Serenity Operating System
at master 29 lines 663 B view raw
1/* 2 * Copyright (c) 2020, the SerenityOS developers. 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <LibWeb/HTML/HTMLElement.h> 10 11namespace Web::HTML { 12 13// NOTE: This element is marked as obsolete, but is still listed as required by the specification. 14class HTMLFrameElement final : public HTMLElement { 15 WEB_PLATFORM_OBJECT(HTMLFrameElement, HTMLElement); 16 17public: 18 virtual ~HTMLFrameElement() override; 19 20private: 21 HTMLFrameElement(DOM::Document&, DOM::QualifiedName); 22 23 virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override; 24 25 // ^DOM::Element 26 virtual i32 default_tab_index_value() const override; 27}; 28 29}