2020-01-18 11:38:21 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 11:24:48 +03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 11:38:21 +03:00
|
|
|
*/
|
|
|
|
|
2019-10-09 22:25:29 +03:00
|
|
|
#pragma once
|
|
|
|
|
2020-02-15 02:13:44 +03:00
|
|
|
#include <LibCore/Forward.h>
|
2020-07-26 16:08:16 +03:00
|
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
2019-10-09 22:25:29 +03:00
|
|
|
|
2020-07-28 19:20:36 +03:00
|
|
|
namespace Web::HTML {
|
2020-03-07 12:27:02 +03:00
|
|
|
|
2020-07-28 04:54:19 +03:00
|
|
|
class HTMLBlinkElement final : public HTMLElement {
|
2022-08-28 14:42:07 +03:00
|
|
|
WEB_PLATFORM_OBJECT(HTMLBlinkElement, HTMLElement);
|
|
|
|
|
2019-10-09 22:25:29 +03:00
|
|
|
public:
|
|
|
|
virtual ~HTMLBlinkElement() override;
|
|
|
|
|
|
|
|
private:
|
2022-08-28 14:42:07 +03:00
|
|
|
HTMLBlinkElement(DOM::Document&, DOM::QualifiedName);
|
|
|
|
|
2019-10-09 22:25:29 +03:00
|
|
|
void blink();
|
|
|
|
|
2022-09-07 21:30:31 +03:00
|
|
|
NonnullRefPtr<Platform::Timer> m_timer;
|
2019-10-09 22:25:29 +03:00
|
|
|
};
|
2020-03-07 12:27:02 +03:00
|
|
|
|
2020-06-08 00:27:03 +03:00
|
|
|
}
|