#ifndef SVGMPathElement_h
#define SVGMPathElement_h
#include "SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedString.h"
#include "core/svg/SVGElement.h"
#include "core/svg/SVGURIReference.h"
namespace WebCore {
class SVGPathElement;
class SVGMPathElement FINAL : public SVGElement,
public SVGURIReference {
public:
static PassRefPtr<SVGMPathElement> create(Document&);
virtual ~SVGMPathElement();
SVGPathElement* pathElement();
void targetPathChanged();
private:
explicit SVGMPathElement(Document&);
virtual void buildPendingResource() OVERRIDE;
void clearResourceReferences();
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
virtual void removedFrom(ContainerNode*) OVERRIDE;
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
void notifyParentOfPathChange(ContainerNode*);
};
}
#endif