| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 virtual bool isValid() const { return SVGTests::isValid(); } | 45 virtual bool isValid() const { return SVGTests::isValid(); } |
| 46 | 46 |
| 47 virtual String title() const; | 47 virtual String title() const; |
| 48 virtual String target() const { return svgTarget(); } | 48 virtual String target() const { return svgTarget(); } |
| 49 | 49 |
| 50 bool isSupportedAttribute(const QualifiedName&); | 50 bool isSupportedAttribute(const QualifiedName&); |
| 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 52 virtual void svgAttributeChanged(const QualifiedName&); | 52 virtual void svgAttributeChanged(const QualifiedName&); |
| 53 | 53 |
| 54 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 54 virtual RenderObject* createRenderer(RenderStyle*); |
| 55 | 55 |
| 56 virtual void defaultEventHandler(Event*); | 56 virtual void defaultEventHandler(Event*); |
| 57 | 57 |
| 58 virtual bool supportsFocus() const OVERRIDE; | 58 virtual bool supportsFocus() const OVERRIDE; |
| 59 virtual bool isMouseFocusable() const; | 59 virtual bool isMouseFocusable() const; |
| 60 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 60 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
| 61 virtual bool rendererIsFocusable() const OVERRIDE; | 61 virtual bool rendererIsFocusable() const OVERRIDE; |
| 62 virtual bool isURLAttribute(const Attribute&) const; | 62 virtual bool isURLAttribute(const Attribute&) const; |
| 63 | 63 |
| 64 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 64 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| 65 | 65 |
| 66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement) | 66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement) |
| 67 // This declaration used to define a non-virtual "String& target() const
" method, that clashes with "virtual String Element::target() const". | 67 // This declaration used to define a non-virtual "String& target() const
" method, that clashes with "virtual String Element::target() const". |
| 68 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. | 68 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. |
| 69 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) | 69 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) |
| 70 DECLARE_ANIMATED_STRING(Href, href) | 70 DECLARE_ANIMATED_STRING(Href, href) |
| 71 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 71 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
| 72 END_DECLARE_ANIMATED_PROPERTIES | 72 END_DECLARE_ANIMATED_PROPERTIES |
| 73 | 73 |
| 74 // SVGTests | 74 // SVGTests |
| 75 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 75 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
| 76 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 76 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 77 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 77 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace WebCore | 80 } // namespace WebCore |
| 81 | 81 |
| 82 #endif // SVGAElement_h | 82 #endif // SVGAElement_h |
| OLD | NEW |