#ifndef SVGMPathElement_h
#define SVGMPathElement_h
#include "SVGAnimatedBoolean.h"
#include "SVGAnimatedString.h"
#include "SVGElement.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGNames.h"
#include "SVGURIReference.h"
namespace WebCore {
class SVGPathElement;
class SVGMPathElement final : public SVGElement,
public SVGURIReference,
public SVGExternalResourcesRequired {
public:
static PassRefPtr<SVGMPathElement> create(const QualifiedName&, Document&);
virtual ~SVGMPathElement();
SVGPathElement* pathElement();
void targetPathChanged();
protected:
virtual void didNotifySubtreeInsertions(ContainerNode*) override;
private:
SVGMPathElement(const QualifiedName&, Document&);
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*);
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
DECLARE_ANIMATED_STRING(Href, href)
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
NODE_TYPE_CASTS(SVGMPathElement)
}
#endif // SVGMPathElement_h