| 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 * Copyright (C) 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 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 25 matching lines...) Expand all Loading... |
| 36 class AffineTransform; | 36 class AffineTransform; |
| 37 class CSSCursorImageValue; | 37 class CSSCursorImageValue; |
| 38 class Document; | 38 class Document; |
| 39 class NewSVGAnimatedPropertyBase; | 39 class NewSVGAnimatedPropertyBase; |
| 40 class SubtreeLayoutScope; | 40 class SubtreeLayoutScope; |
| 41 class SVGAttributeToPropertyMap; | 41 class SVGAttributeToPropertyMap; |
| 42 class SVGCursorElement; | 42 class SVGCursorElement; |
| 43 class SVGDocumentExtensions; | 43 class SVGDocumentExtensions; |
| 44 class SVGElementInstance; | 44 class SVGElementInstance; |
| 45 class SVGElementRareData; | 45 class SVGElementRareData; |
| 46 class SVGFitToViewBox; |
| 46 class SVGSVGElement; | 47 class SVGSVGElement; |
| 47 | 48 |
| 48 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName
ToIdMap, const QualifiedName& attrName); | 49 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName
ToIdMap, const QualifiedName& attrName); |
| 49 | 50 |
| 50 class SVGElement : public Element { | 51 class SVGElement : public Element { |
| 51 public: | 52 public: |
| 52 virtual ~SVGElement(); | 53 virtual ~SVGElement(); |
| 53 | 54 |
| 54 bool isOutermostSVGSVGElement() const; | 55 bool isOutermostSVGSVGElement() const; |
| 55 | 56 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 173 |
| 173 virtual bool selfHasRelativeLengths() const { return false; } | 174 virtual bool selfHasRelativeLengths() const { return false; } |
| 174 | 175 |
| 175 SVGElementRareData* svgRareData() const; | 176 SVGElementRareData* svgRareData() const; |
| 176 SVGElementRareData* ensureSVGRareData(); | 177 SVGElementRareData* ensureSVGRareData(); |
| 177 | 178 |
| 178 bool hasSVGRareData() const { return m_hasSVGRareData; } | 179 bool hasSVGRareData() const { return m_hasSVGRareData; } |
| 179 void setHasSVGRareData() { m_hasSVGRareData = true; } | 180 void setHasSVGRareData() { m_hasSVGRareData = true; } |
| 180 void clearHasSVGRareData() { m_hasSVGRareData = false; } | 181 void clearHasSVGRareData() { m_hasSVGRareData = false; } |
| 181 | 182 |
| 183 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError. |
| 184 friend class SVGFitToViewBox; |
| 182 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); | 185 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); |
| 183 bool hasFocusEventListeners() const; | 186 bool hasFocusEventListeners() const; |
| 184 | 187 |
| 185 class CleanUpAnimatedPropertiesCaller { | 188 class CleanUpAnimatedPropertiesCaller { |
| 186 public: | 189 public: |
| 187 CleanUpAnimatedPropertiesCaller() | 190 CleanUpAnimatedPropertiesCaller() |
| 188 : m_owner(0) | 191 : m_owner(0) |
| 189 { | 192 { |
| 190 } | 193 } |
| 191 | 194 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 return DefaultHash<QualifiedName>::Hash::hash(key); | 252 return DefaultHash<QualifiedName>::Hash::hash(key); |
| 250 } | 253 } |
| 251 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 254 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
| 252 }; | 255 }; |
| 253 | 256 |
| 254 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); | 257 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); |
| 255 | 258 |
| 256 } | 259 } |
| 257 | 260 |
| 258 #endif | 261 #endif |
| OLD | NEW |