HTMLEmbedElement.h [plain text]
#ifndef HTMLEmbedElement_h
#define HTMLEmbedElement_h
#include "HTMLPlugInImageElement.h"
namespace WebCore {
class HTMLEmbedElement : public HTMLPlugInImageElement {
public:
static PassRefPtr<HTMLEmbedElement> create(const QualifiedName&, Document*, bool createdByParser);
private:
HTMLEmbedElement(const QualifiedName&, Document*, bool createdByParser);
virtual void parseAttribute(Attribute*) OVERRIDE;
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
virtual void collectStyleForAttribute(Attribute*, StylePropertySet*) OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&);
virtual bool isURLAttribute(Attribute*) const;
virtual const QualifiedName& imageSourceAttributeName() const;
virtual RenderWidget* renderWidgetForJSBindings();
virtual void updateWidget(PluginCreationOption);
virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues);
#if ENABLE(MICRODATA)
virtual String itemValueText() const OVERRIDE;
virtual void setItemValueText(const String&, ExceptionCode&) OVERRIDE;
#endif
virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; }
};
}
#endif