HTMLEmbedElement.h [plain text]
#pragma once
#include "HTMLPlugInImageElement.h"
namespace WebCore {
class HTMLEmbedElement final : public HTMLPlugInImageElement {
WTF_MAKE_ISO_ALLOCATED(HTMLEmbedElement);
public:
static Ref<HTMLEmbedElement> create(Document&);
static Ref<HTMLEmbedElement> create(const QualifiedName&, Document&);
private:
HTMLEmbedElement(const QualifiedName&, Document&);
void parseAttribute(const QualifiedName&, const AtomString&) final;
void collectStyleForPresentationAttribute(const QualifiedName&, const AtomString&, MutableStyleProperties&) final;
bool rendererIsNeeded(const RenderStyle&) final;
bool isURLAttribute(const Attribute&) const final;
const AtomString& imageSourceURL() const final;
bool isInteractiveContent() const final { return true; }
RenderWidget* renderWidgetLoadingPlugin() const final;
void updateWidget(CreatePlugins) final;
void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues);
};
}