summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.h
blob: 7c445e558f31430b264911e536f303e62014ab83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibCore/Forward.h>
#include <LibWeb/HTML/HTMLElement.h>

namespace Web::HTML {

class HTMLBlinkElement final : public HTMLElement {
    WEB_PLATFORM_OBJECT(HTMLBlinkElement, HTMLElement);

public:
    virtual ~HTMLBlinkElement() override;

private:
    HTMLBlinkElement(DOM::Document&, DOM::QualifiedName);

    void blink();

    NonnullRefPtr<Platform::Timer> m_timer;
};

}