LibWeb: Make all existing HTML elements "final"

This commit is contained in:
Luke 2020-07-28 02:54:19 +01:00 committed by Andreas Kling
parent 700f5cfc90
commit a86ce7eaca
Notes: sideshowbarker 2024-07-19 04:07:51 +09:00
15 changed files with 15 additions and 15 deletions

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLAnchorElement : public HTMLElement { class HTMLAnchorElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLAnchorElementWrapper; using WrapperType = Bindings::HTMLAnchorElementWrapper;

View file

@ -31,7 +31,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLBlinkElement : public HTMLElement { class HTMLBlinkElement final : public HTMLElement {
public: public:
HTMLBlinkElement(DOM::Document&, const FlyString& local_name); HTMLBlinkElement(DOM::Document&, const FlyString& local_name);
virtual ~HTMLBlinkElement() override; virtual ~HTMLBlinkElement() override;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLBodyElement : public HTMLElement { class HTMLBodyElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLBodyElementWrapper; using WrapperType = Bindings::HTMLBodyElementWrapper;

View file

@ -34,7 +34,7 @@ namespace Web::HTML {
class LayoutDocument; class LayoutDocument;
class HTMLCanvasElement : public HTMLElement { class HTMLCanvasElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLCanvasElementWrapper; using WrapperType = Bindings::HTMLCanvasElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLFontElement : public HTMLElement { class HTMLFontElement final : public HTMLElement {
public: public:
HTMLFontElement(DOM::Document&, const FlyString& local_name); HTMLFontElement(DOM::Document&, const FlyString& local_name);
virtual ~HTMLFontElement() override; virtual ~HTMLFontElement() override;

View file

@ -31,7 +31,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLFormElement : public HTMLElement { class HTMLFormElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLFormElementWrapper; using WrapperType = Bindings::HTMLFormElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLHRElement : public HTMLElement { class HTMLHRElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLHRElementWrapper; using WrapperType = Bindings::HTMLHRElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLHeadElement : public HTMLElement { class HTMLHeadElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLHeadElementWrapper; using WrapperType = Bindings::HTMLHeadElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLHeadingElement : public HTMLElement { class HTMLHeadingElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLHeadingElementWrapper; using WrapperType = Bindings::HTMLHeadingElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLHtmlElement : public HTMLElement { class HTMLHtmlElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLHtmlElementWrapper; using WrapperType = Bindings::HTMLHtmlElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLInputElement : public HTMLElement { class HTMLInputElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLInputElementWrapper; using WrapperType = Bindings::HTMLInputElementWrapper;

View file

@ -31,7 +31,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLScriptElement : public HTMLElement { class HTMLScriptElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLScriptElementWrapper; using WrapperType = Bindings::HTMLScriptElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLStyleElement : public HTMLElement { class HTMLStyleElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLStyleElementWrapper; using WrapperType = Bindings::HTMLStyleElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLTableRowElement : public HTMLElement { class HTMLTableRowElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLTableRowElementWrapper; using WrapperType = Bindings::HTMLTableRowElementWrapper;

View file

@ -30,7 +30,7 @@
namespace Web::HTML { namespace Web::HTML {
class HTMLTitleElement : public HTMLElement { class HTMLTitleElement final : public HTMLElement {
public: public:
using WrapperType = Bindings::HTMLTitleElementWrapper; using WrapperType = Bindings::HTMLTitleElementWrapper;