summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLEmbedElement.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLEmbedElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLEmbedElement.h')
-rw-r--r--Source/WebCore/html/HTMLEmbedElement.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/Source/WebCore/html/HTMLEmbedElement.h b/Source/WebCore/html/HTMLEmbedElement.h
index d9fd4523e..ffa5a7ed4 100644
--- a/Source/WebCore/html/HTMLEmbedElement.h
+++ b/Source/WebCore/html/HTMLEmbedElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLEmbedElement_h
-#define HTMLEmbedElement_h
+#pragma once
#include "HTMLPlugInImageElement.h"
@@ -29,31 +28,28 @@ namespace WebCore {
class HTMLEmbedElement final : public HTMLPlugInImageElement {
public:
- static PassRefPtr<HTMLEmbedElement> create(const QualifiedName&, Document&, bool createdByParser);
+ static Ref<HTMLEmbedElement> create(Document&);
+ static Ref<HTMLEmbedElement> create(const QualifiedName&, Document&, bool createdByParser);
private:
HTMLEmbedElement(const QualifiedName&, Document&, bool createdByParser);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- virtual bool rendererIsNeeded(const RenderStyle&) override;
+ bool rendererIsNeeded(const RenderStyle&) final;
- virtual bool isURLAttribute(const Attribute&) const override;
- virtual const AtomicString& imageSourceURL() const override;
+ bool isURLAttribute(const Attribute&) const final;
+ const AtomicString& imageSourceURL() const final;
- virtual RenderWidget* renderWidgetForJSBindings() const override;
+ RenderWidget* renderWidgetLoadingPlugin() const final;
- virtual void updateWidget(PluginCreationOption) override;
+ void updateWidget(CreatePlugins) final;
- virtual void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues);
};
-NODE_TYPE_CASTS(HTMLEmbedElement)
-
-}
-
-#endif
+} // namespace WebCore