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 21 matching lines...) Expand all Loading... |
32 public SVGURIReference { | 32 public SVGURIReference { |
33 public: | 33 public: |
34 static PassRefPtr<SVGAElement> create(Document&); | 34 static PassRefPtr<SVGAElement> create(Document&); |
35 | 35 |
36 private: | 36 private: |
37 explicit SVGAElement(Document&); | 37 explicit SVGAElement(Document&); |
38 | 38 |
39 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); } | 39 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); } |
40 | 40 |
41 virtual String title() const OVERRIDE; | 41 virtual String title() const OVERRIDE; |
42 virtual AtomicString target() const OVERRIDE { return AtomicString(svgTarget
CurrentValue()); } | |
43 | 42 |
44 bool isSupportedAttribute(const QualifiedName&); | 43 bool isSupportedAttribute(const QualifiedName&); |
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
46 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 45 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
47 | 46 |
48 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 47 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
49 | 48 |
50 virtual void defaultEventHandler(Event*) OVERRIDE; | 49 virtual void defaultEventHandler(Event*) OVERRIDE; |
51 | 50 |
52 virtual bool supportsFocus() const OVERRIDE; | 51 virtual bool supportsFocus() const OVERRIDE; |
(...skipping 10 matching lines...) Expand all Loading... |
63 // This declaration used to define a non-virtual "String& target() const
" method, that clashes with "virtual String Element::target() const". | 62 // This declaration used to define a non-virtual "String& target() const
" method, that clashes with "virtual String Element::target() const". |
64 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. | 63 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. |
65 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) | 64 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) |
66 DECLARE_ANIMATED_STRING(Href, href) | 65 DECLARE_ANIMATED_STRING(Href, href) |
67 END_DECLARE_ANIMATED_PROPERTIES | 66 END_DECLARE_ANIMATED_PROPERTIES |
68 }; | 67 }; |
69 | 68 |
70 } // namespace WebCore | 69 } // namespace WebCore |
71 | 70 |
72 #endif // SVGAElement_h | 71 #endif // SVGAElement_h |
OLD | NEW |