mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
f3db548a3d
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so let's rename it to A) match the name of DeprecatedString, B) write a new FlyString class that is tied to String.
27 lines
504 B
C++
27 lines
504 B
C++
/*
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/DOM/ARIARoleNames.h>
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
|
|
|
namespace Web::HTML {
|
|
|
|
class HTMLModElement final : public HTMLElement {
|
|
WEB_PLATFORM_OBJECT(HTMLModElement, HTMLElement);
|
|
|
|
public:
|
|
virtual ~HTMLModElement() override;
|
|
|
|
virtual DeprecatedFlyString default_role() const override;
|
|
|
|
private:
|
|
HTMLModElement(DOM::Document&, DOM::QualifiedName);
|
|
};
|
|
|
|
}
|