| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 virtual bool isValid() const { return SVGTests::isValid(); } | 46 virtual bool isValid() const { return SVGTests::isValid(); } |
| 47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | 47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } |
| 48 | 48 |
| 49 bool isSupportedAttribute(const QualifiedName&); | 49 bool isSupportedAttribute(const QualifiedName&); |
| 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 51 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 51 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 52 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 52 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 53 virtual void svgAttributeChanged(const QualifiedName&); | 53 virtual void svgAttributeChanged(const QualifiedName&); |
| 54 | 54 |
| 55 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 55 virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI
DE; |
| 56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 57 | 57 |
| 58 virtual RenderObject* createRenderer(RenderStyle*); | 58 virtual RenderObject* createRenderer(RenderStyle*); |
| 59 | 59 |
| 60 virtual const AtomicString imageSourceURL() const OVERRIDE; | 60 virtual const AtomicString imageSourceURL() const OVERRIDE; |
| 61 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 61 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
| 62 | 62 |
| 63 virtual bool haveLoadedRequiredResources(); | 63 virtual bool haveLoadedRequiredResources(); |
| 64 | 64 |
| 65 virtual bool selfHasRelativeLengths() const; | 65 virtual bool selfHasRelativeLengths() const; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 80 | 80 |
| 81 inline SVGImageElement* toSVGImageElement(Node* node) | 81 inline SVGImageElement* toSVGImageElement(Node* node) |
| 82 { | 82 { |
| 83 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::imageTa
g)); | 83 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::imageTa
g)); |
| 84 return static_cast<SVGImageElement*>(node); | 84 return static_cast<SVGImageElement*>(node); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace WebCore | 87 } // namespace WebCore |
| 88 | 88 |
| 89 #endif | 89 #endif |
| OLD | NEW |