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 24 matching lines...) Expand all Loading... |
35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement); | 35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement); |
36 public: | 36 public: |
37 DECLARE_NODE_FACTORY(SVGAElement); | 37 DECLARE_NODE_FACTORY(SVGAElement); |
38 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } | 38 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } |
39 | 39 |
40 DECLARE_VIRTUAL_TRACE(); | 40 DECLARE_VIRTUAL_TRACE(); |
41 | 41 |
42 private: | 42 private: |
43 explicit SVGAElement(Document&); | 43 explicit SVGAElement(Document&); |
44 | 44 |
45 virtual String title() const override; | 45 String title() const override; |
46 | 46 |
47 virtual void svgAttributeChanged(const QualifiedName&) override; | 47 void svgAttributeChanged(const QualifiedName&) override; |
48 | 48 |
49 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 49 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
50 | 50 |
51 virtual void defaultEventHandler(Event*) override; | 51 void defaultEventHandler(Event*) override; |
52 | 52 |
53 virtual bool isLiveLink() const override { return isLink(); } | 53 bool isLiveLink() const override { return isLink(); } |
54 | 54 |
55 virtual bool supportsFocus() const override; | 55 bool supportsFocus() const override; |
56 virtual bool shouldHaveFocusAppearance() const override final; | 56 bool shouldHaveFocusAppearance() const final; |
57 virtual void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) ov
erride; | 57 void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) override; |
58 virtual void dispatchBlurEvent(Element* newFocusedElement, WebFocusType) ove
rride; | 58 void dispatchBlurEvent(Element* newFocusedElement, WebFocusType) override; |
59 virtual bool isMouseFocusable() const override; | 59 bool isMouseFocusable() const override; |
60 virtual bool isKeyboardFocusable() const override; | 60 bool isKeyboardFocusable() const override; |
61 virtual bool isURLAttribute(const Attribute&) const override; | 61 bool isURLAttribute(const Attribute&) const override; |
62 virtual bool canStartSelection() const override; | 62 bool canStartSelection() const override; |
63 virtual short tabIndex() const override; | 63 short tabIndex() const override; |
64 | 64 |
65 virtual bool willRespondToMouseClickEvents() override; | 65 bool willRespondToMouseClickEvents() override; |
66 | 66 |
67 RefPtrWillBeMember<SVGAnimatedString> m_svgTarget; | 67 RefPtrWillBeMember<SVGAnimatedString> m_svgTarget; |
68 bool m_wasFocusedByMouse; | 68 bool m_wasFocusedByMouse; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif // SVGAElement_h | 73 #endif // SVGAElement_h |
OLD | NEW |