/* * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::Layout { class Progress final : public LabelableNode { JS_CELL(Progress, LabelableNode); public: Progress(DOM::Document&, HTML::HTMLProgressElement&, NonnullRefPtr); virtual ~Progress() override; const HTML::HTMLProgressElement& dom_node() const { return static_cast(LabelableNode::dom_node()); } HTML::HTMLProgressElement& dom_node() { return static_cast(LabelableNode::dom_node()); } virtual JS::GCPtr create_paintable() const override; }; }