SVGDOMImplementation.h [plain text]
#ifndef KSVG_SVGDOMImplementationImpl_H
#define KSVG_SVGDOMImplementationImpl_H
#if SVG_SUPPORT
#include "DOMImplementation.h"
namespace WebCore {
class StringImpl;
class SVGDOMImplementation : public DOMImplementation {
public:
SVGDOMImplementation();
virtual ~SVGDOMImplementation();
static SVGDOMImplementation* instance();
bool hasFeature(StringImpl* feature, StringImpl* version) const;
PassRefPtr<DocumentType> createDocumentType(StringImpl* qualifiedName, StringImpl* publicId, StringImpl* systemId, ExceptionCode&) const;
PassRefPtr<Document> createDocument(StringImpl* namespaceURI, StringImpl* qualifiedName, DocumentType*, ExceptionCode&) const;
PassRefPtr<Document> createDocument(StringImpl* namespaceURI, StringImpl* qualifiedName, DocumentType*, bool createDocElement, FrameView*, ExceptionCode&) const;
virtual PassRefPtr<CSSStyleSheet> createCSSStyleSheet(StringImpl* title, StringImpl* media) const;
virtual DocumentType* defaultDocumentType() const;
bool inAnimationContext() const;
void setAnimationContext(bool value);
PassRefPtr<Document> createDocument(FrameView* = 0);
private:
bool m_animationContext : 1;
};
}
#endif // SVG_SUPPORT
#endif