HTMLBlinkElement.h 557 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibCore/Forward.h>
  8. #include <LibWeb/HTML/HTMLElement.h>
  9. namespace Web::HTML {
  10. class HTMLBlinkElement final : public HTMLElement {
  11. WEB_PLATFORM_OBJECT(HTMLBlinkElement, HTMLElement);
  12. public:
  13. virtual ~HTMLBlinkElement() override;
  14. private:
  15. HTMLBlinkElement(DOM::Document&, DOM::QualifiedName);
  16. void blink();
  17. NonnullRefPtr<Core::Timer> m_timer;
  18. };
  19. }
  20. WRAPPER_HACK(HTMLBlinkElement, Web::HTML)