| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #ifndef SVGAElement_h | 22 #ifndef SVGAElement_h |
| 23 #define SVGAElement_h | 23 #define SVGAElement_h |
| 24 | 24 |
| 25 #include "core/svg/SVGAnimatedBoolean.h" | 25 #include "core/svg/SVGAnimatedBoolean.h" |
| 26 #include "core/svg/SVGGraphicsElement.h" | 26 #include "core/svg/SVGGraphicsElement.h" |
| 27 #include "core/svg/SVGURIReference.h" | 27 #include "core/svg/SVGURIReference.h" |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 class SVGAElement FINAL : public SVGGraphicsElement, | 31 class SVGAElement final : public SVGGraphicsElement, |
| 32 public SVGURIReference { | 32 public SVGURIReference { |
| 33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
| 34 public: | 34 public: |
| 35 DECLARE_NODE_FACTORY(SVGAElement); | 35 DECLARE_NODE_FACTORY(SVGAElement); |
| 36 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } | 36 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 explicit SVGAElement(Document&); | 39 explicit SVGAElement(Document&); |
| 40 | 40 |
| 41 virtual String title() const OVERRIDE; | 41 virtual String title() const override; |
| 42 | 42 |
| 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 44 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 44 virtual void svgAttributeChanged(const QualifiedName&) override; |
| 45 | 45 |
| 46 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 46 virtual RenderObject* createRenderer(RenderStyle*) override; |
| 47 | 47 |
| 48 virtual void defaultEventHandler(Event*) OVERRIDE; | 48 virtual void defaultEventHandler(Event*) override; |
| 49 | 49 |
| 50 virtual bool isLiveLink() const OVERRIDE { return isLink(); } | 50 virtual bool isLiveLink() const override { return isLink(); } |
| 51 | 51 |
| 52 virtual bool supportsFocus() const OVERRIDE; | 52 virtual bool supportsFocus() const override; |
| 53 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL; | 53 virtual bool shouldHaveFocusAppearance() const override final; |
| 54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR
IDE; | 54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) overr
ide; |
| 55 virtual bool isMouseFocusable() const OVERRIDE; | 55 virtual bool isMouseFocusable() const override; |
| 56 virtual bool isKeyboardFocusable() const OVERRIDE; | 56 virtual bool isKeyboardFocusable() const override; |
| 57 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; | 57 virtual bool isURLAttribute(const Attribute&) const override; |
| 58 virtual bool canStartSelection() const OVERRIDE; | 58 virtual bool canStartSelection() const override; |
| 59 virtual short tabIndex() const OVERRIDE; | 59 virtual short tabIndex() const override; |
| 60 | 60 |
| 61 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 61 virtual bool willRespondToMouseClickEvents() override; |
| 62 | 62 |
| 63 RefPtr<SVGAnimatedString> m_svgTarget; | 63 RefPtr<SVGAnimatedString> m_svgTarget; |
| 64 bool m_wasFocusedByMouse; | 64 bool m_wasFocusedByMouse; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // SVGAElement_h | 69 #endif // SVGAElement_h |
| OLD | NEW |