#ifndef HTMLEmbedElement_h
#define HTMLEmbedElement_h
#include "core/html/HTMLPlugInElement.h"
namespace WebCore {
class HTMLEmbedElement FINAL : public HTMLPlugInElement {
public:
static PassRefPtr<HTMLEmbedElement> create(Document&, bool createdByParser = false);
bool isExposed() const;
private:
HTMLEmbedElement(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&, MutableStylePropertySet*) OVERRIDE;
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
virtual const QualifiedName& subResourceAttributeName() const OVERRIDE;
virtual const AtomicString imageSourceURL() const OVERRIDE;
virtual RenderWidget* existingRenderWidget() const OVERRIDE;
virtual void updateWidgetInternal() OVERRIDE;
void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues);
virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; }
virtual bool isInteractiveContent() const OVERRIDE;
};
}
#endif