#pragma once
#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 {
WTF_MAKE_ISO_ALLOCATED(SVGMPathElement);
public:
static Ref<SVGMPathElement> create(const QualifiedName&, Document&);
virtual ~SVGMPathElement();
RefPtr<SVGPathElement> pathElement();
void targetPathChanged();
private:
SVGMPathElement(const QualifiedName&, Document&);
void buildPendingResource() final;
void clearResourceReferences();
InsertedIntoAncestorResult insertedIntoAncestor(InsertionType, ContainerNode&) final;
void removedFromAncestor(RemovalType, ContainerNode&) final;
void parseAttribute(const QualifiedName&, const AtomicString&) final;
void svgAttributeChanged(const QualifiedName&) final;
bool rendererIsNeeded(const RenderStyle&) final { return false; }
void didFinishInsertingNode() final;
void notifyParentOfPathChange(ContainerNode*);
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
DECLARE_ANIMATED_STRING_OVERRIDE(Href, href)
DECLARE_ANIMATED_BOOLEAN_OVERRIDE(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
}