HTMLFrameElement.h 684 B

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