#ifndef SVGAElement_h
#define SVGAElement_h
#include "SVGAnimatedBoolean.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGGraphicsElement.h"
#include "SVGURIReference.h"
namespace WebCore {
class SVGAElement final : public SVGGraphicsElement,
public SVGURIReference,
public SVGExternalResourcesRequired {
public:
static PassRefPtr<SVGAElement> create(const QualifiedName&, Document&);
private:
SVGAElement(const QualifiedName&, Document&);
virtual bool isValid() const override { return SVGTests::isValid(); }
virtual String title() const override;
virtual String target() const override { return svgTarget(); }
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
virtual bool childShouldCreateRenderer(const Node&) const override;
virtual void defaultEventHandler(Event*) override;
virtual bool supportsFocus() const override;
virtual bool isMouseFocusable() const override;
virtual bool isKeyboardFocusable(KeyboardEvent*) const override;
virtual bool isFocusable() const override;
virtual bool isURLAttribute(const Attribute&) const override;
virtual bool canStartSelection() const override;
virtual short tabIndex() const override;
virtual bool willRespondToMouseClickEvents() override;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement)
DECLARE_ANIMATED_STRING(SVGTarget, svgTarget)
DECLARE_ANIMATED_STRING(Href, href)
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif // SVGAElement_h