#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 SVGExternalResourcesRequired, public SVGURIReference {
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&);
using AttributeOwnerProxy = SVGAttributeOwnerProxyImpl<SVGMPathElement, SVGElement, SVGExternalResourcesRequired, SVGURIReference>;
const SVGAttributeOwnerProxy& attributeOwnerProxy() const final { return m_attributeOwnerProxy; }
void parseAttribute(const QualifiedName&, const AtomicString&) final;
void svgAttributeChanged(const QualifiedName&) final;
void buildPendingResource() final;
void clearResourceReferences();
InsertedIntoAncestorResult insertedIntoAncestor(InsertionType, ContainerNode&) final;
void removedFromAncestor(RemovalType, ContainerNode&) final;
bool rendererIsNeeded(const RenderStyle&) final { return false; }
void didFinishInsertingNode() final;
void notifyParentOfPathChange(ContainerNode*);
AttributeOwnerProxy m_attributeOwnerProxy { *this };
};
}