diff options
Diffstat (limited to 'Source/WebCore/html/HTMLAppletElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLAppletElement.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Source/WebCore/html/HTMLAppletElement.h b/Source/WebCore/html/HTMLAppletElement.h index fcfc09ac5..4d5d324a5 100644 --- a/Source/WebCore/html/HTMLAppletElement.h +++ b/Source/WebCore/html/HTMLAppletElement.h @@ -20,8 +20,7 @@ * */ -#ifndef HTMLAppletElement_h -#define HTMLAppletElement_h +#pragma once #include "HTMLPlugInImageElement.h" @@ -29,22 +28,21 @@ namespace WebCore { class HTMLAppletElement final : public HTMLPlugInImageElement { public: - static PassRefPtr<HTMLAppletElement> create(const QualifiedName&, Document&, bool createdByParser); + static Ref<HTMLAppletElement> create(const QualifiedName&, Document&, bool createdByParser); private: HTMLAppletElement(const QualifiedName&, Document&, bool createdByParser); - virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; + void parseAttribute(const QualifiedName&, const AtomicString&) final; + bool isURLAttribute(const Attribute&) const final; - virtual bool rendererIsNeeded(const RenderStyle&) override; - virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override; + bool rendererIsNeeded(const RenderStyle&) final; + RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final; - virtual RenderWidget* renderWidgetForJSBindings() const override; - virtual void updateWidget(PluginCreationOption) override; + RenderWidget* renderWidgetLoadingPlugin() const final; + void updateWidget(CreatePlugins) final; bool canEmbedJava() const; }; -} - -#endif +} // namespace WebCore |