| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 10 matching lines...) Expand all Loading... |
| 21 #include "config.h" | 21 #include "config.h" |
| 22 | 22 |
| 23 #if ENABLE(SVG) | 23 #if ENABLE(SVG) |
| 24 #include "SVGTextContentElement.h" | 24 #include "SVGTextContentElement.h" |
| 25 | 25 |
| 26 #include "CSSPropertyNames.h" | 26 #include "CSSPropertyNames.h" |
| 27 #include "CSSValueKeywords.h" | 27 #include "CSSValueKeywords.h" |
| 28 #include "Frame.h" | 28 #include "Frame.h" |
| 29 #include "FrameSelection.h" | 29 #include "FrameSelection.h" |
| 30 #include "RenderObject.h" | 30 #include "RenderObject.h" |
| 31 #include "RenderSVGResource.h" | |
| 32 #include "RenderSVGText.h" | |
| 33 #include "SVGDocumentExtensions.h" | 31 #include "SVGDocumentExtensions.h" |
| 34 #include "SVGElementInstance.h" | 32 #include "SVGElementInstance.h" |
| 35 #include "SVGNames.h" | 33 #include "SVGNames.h" |
| 36 #include "SVGTextQuery.h" | |
| 37 #include "XMLNames.h" | 34 #include "XMLNames.h" |
| 35 #include "core/rendering/svg/RenderSVGResource.h" |
| 36 #include "core/rendering/svg/RenderSVGText.h" |
| 37 #include "core/rendering/svg/SVGTextQuery.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 // Define custom animated property 'textLength'. | 41 // Define custom animated property 'textLength'. |
| 42 const SVGPropertyInfo* SVGTextContentElement::textLengthPropertyInfo() | 42 const SVGPropertyInfo* SVGTextContentElement::textLengthPropertyInfo() |
| 43 { | 43 { |
| 44 static const SVGPropertyInfo* s_propertyInfo = 0; | 44 static const SVGPropertyInfo* s_propertyInfo = 0; |
| 45 if (!s_propertyInfo) { | 45 if (!s_propertyInfo) { |
| 46 s_propertyInfo = new SVGPropertyInfo(AnimatedLength, | 46 s_propertyInfo = new SVGPropertyInfo(AnimatedLength, |
| 47 PropertyIsReadWrite, | 47 PropertyIsReadWrite, |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 && !node->hasTagName(SVGNames::trefTag) | 316 && !node->hasTagName(SVGNames::trefTag) |
| 317 && !node->hasTagName(SVGNames::textPathTag)) | 317 && !node->hasTagName(SVGNames::textPathTag)) |
| 318 return 0; | 318 return 0; |
| 319 | 319 |
| 320 return static_cast<SVGTextContentElement*>(node); | 320 return static_cast<SVGTextContentElement*>(node); |
| 321 } | 321 } |
| 322 | 322 |
| 323 } | 323 } |
| 324 | 324 |
| 325 #endif // ENABLE(SVG) | 325 #endif // ENABLE(SVG) |
| OLD | NEW |