HTMLEmbedElement.h [plain text]
#ifndef HTMLEmbedElement_h
#define HTMLEmbedElement_h
#include "HTMLPlugInElement.h"
#if USE(JAVASCRIPTCORE_BINDINGS)
#include <bindings/runtime.h>
#endif
namespace WebCore {
class SVGDocument;
class HTMLEmbedElement : public HTMLPlugInElement {
public:
HTMLEmbedElement(Document*);
~HTMLEmbedElement();
virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; }
virtual int tagPriority() const { return 0; }
virtual bool mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const;
virtual void parseMappedAttribute(MappedAttribute*);
virtual void attach();
virtual void detach();
virtual bool rendererIsNeeded(RenderStyle*);
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual void insertedIntoDocument();
virtual void removedFromDocument();
virtual void attributeChanged(Attribute*, bool preserveDecls = false);
virtual bool isURLAttribute(Attribute*) const;
#if USE(JAVASCRIPTCORE_BINDINGS)
virtual KJS::Bindings::Instance* getInstance() const;
#endif
String src() const;
void setSrc(const String&);
String type() const;
void setType(const String&);
#if ENABLE(SVG)
SVGDocument* getSVGDocument(ExceptionCode&) const;
#endif
DeprecatedString url;
String m_pluginPage;
String m_serviceType;
};
}
#endif