| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // https://bugs.webkit.org/show_bug.cgi?id=77938 | 191 // https://bugs.webkit.org/show_bug.cgi?id=77938 |
| 192 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } | 192 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
| 193 | 193 |
| 194 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 194 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
| 195 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } | 195 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } |
| 196 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; | 196 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; |
| 197 virtual bool isKeyboardFocusable() const OVERRIDE; | 197 virtual bool isKeyboardFocusable() const OVERRIDE; |
| 198 | 198 |
| 199 void buildPendingResourcesIfNeeded(); | 199 void buildPendingResourcesIfNeeded(); |
| 200 | 200 |
| 201 virtual bool isSupported(StringImpl* feature, StringImpl* version) const; | |
| 202 | |
| 203 void mapInstanceToElement(SVGElementInstance*); | 201 void mapInstanceToElement(SVGElementInstance*); |
| 204 void removeInstanceMapping(SVGElementInstance*); | 202 void removeInstanceMapping(SVGElementInstance*); |
| 205 | 203 |
| 206 void cleanupAnimatedProperties(); | 204 void cleanupAnimatedProperties(); |
| 207 friend class CleanUpAnimatedPropertiesCaller; | 205 friend class CleanUpAnimatedPropertiesCaller; |
| 208 | 206 |
| 209 HashSet<SVGElement*> m_elementsWithRelativeLengths; | 207 HashSet<SVGElement*> m_elementsWithRelativeLengths; |
| 210 | 208 |
| 211 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement) | 209 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement) |
| 212 DECLARE_ANIMATED_STRING(ClassName, className) | 210 DECLARE_ANIMATED_STRING(ClassName, className) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 228 return DefaultHash<QualifiedName>::Hash::hash(key); | 226 return DefaultHash<QualifiedName>::Hash::hash(key); |
| 229 } | 227 } |
| 230 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
| 231 }; | 229 }; |
| 232 | 230 |
| 233 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); | 231 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); |
| 234 | 232 |
| 235 } | 233 } |
| 236 | 234 |
| 237 #endif | 235 #endif |
| OLD | NEW |