HTMLEmbedElement.h [plain text]
#ifndef HTMLEmbedElement_h
#define HTMLEmbedElement_h
#include "HTMLPlugInImageElement.h"
namespace WebCore {
class HTMLEmbedElement FINAL : public HTMLPlugInImageElement {
public:
static PassRefPtr<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&, MutableStylePropertySet*) OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&);
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
virtual const AtomicString& imageSourceURL() const OVERRIDE;
virtual RenderWidget* renderWidgetForJSBindings() const;
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
};
}
#endif