#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 Ref<SVGMPathElement> create(const QualifiedName&, Document&);
virtual ~SVGMPathElement();
SVGPathElement* pathElement();
void targetPathChanged();
private:
SVGMPathElement(const QualifiedName&, Document&);
void buildPendingResource() override;
void clearResourceReferences();
virtual InsertionNotificationRequest insertedInto(ContainerNode&) override;
virtual void removedFrom(ContainerNode&) override;
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
virtual void finishedInsertingSubtree() override;
void notifyParentOfPathChange(ContainerNode*);
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
DECLARE_ANIMATED_STRING_OVERRIDE(Href, href)
DECLARE_ANIMATED_BOOLEAN_OVERRIDE(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif // SVGMPathElement_h