HTMLMapElement.h 675 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/DOM/HTMLCollection.h>
  8. #include <LibWeb/HTML/HTMLElement.h>
  9. namespace Web::HTML {
  10. class HTMLMapElement final : public HTMLElement {
  11. WEB_PLATFORM_OBJECT(HTMLMapElement, HTMLElement);
  12. GC_DECLARE_ALLOCATOR(HTMLMapElement);
  13. public:
  14. virtual ~HTMLMapElement() override;
  15. GC::Ref<DOM::HTMLCollection> areas();
  16. private:
  17. HTMLMapElement(DOM::Document&, DOM::QualifiedName);
  18. virtual void initialize(JS::Realm&) override;
  19. virtual void visit_edges(Cell::Visitor&) override;
  20. GC::Ptr<DOM::HTMLCollection> m_areas;
  21. };
  22. }