#ifndef SVGAElement_h
#define SVGAElement_h
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGGraphicsElement.h"
#include "core/svg/SVGURIReference.h"
namespace WebCore {
class SVGAElement FINAL : public SVGGraphicsElement,
public SVGURIReference {
public:
static PassRefPtr<SVGAElement> create(Document&);
SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
private:
explicit SVGAElement(Document&);
virtual String title() const OVERRIDE;
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool supportsFocus() const OVERRIDE;
virtual bool isMouseFocusable() const OVERRIDE;
virtual bool isKeyboardFocusable() const OVERRIDE;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
RefPtr<SVGAnimatedString> m_svgTarget;
};
}
#endif