| 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, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 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 21 matching lines...) Expand all Loading... |
| 32 class ExceptionState; | 32 class ExceptionState; |
| 33 | 33 |
| 34 enum SVGLengthAdjustType { | 34 enum SVGLengthAdjustType { |
| 35 SVGLengthAdjustUnknown, | 35 SVGLengthAdjustUnknown, |
| 36 SVGLengthAdjustSpacing, | 36 SVGLengthAdjustSpacing, |
| 37 SVGLengthAdjustSpacingAndGlyphs | 37 SVGLengthAdjustSpacingAndGlyphs |
| 38 }; | 38 }; |
| 39 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGLengthAd
justType>(); | 39 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGLengthAd
justType>(); |
| 40 | 40 |
| 41 class SVGTextContentElement : public SVGGraphicsElement { | 41 class SVGTextContentElement : public SVGGraphicsElement { |
| 42 DEFINE_WRAPPERTYPEINFO(); |
| 42 public: | 43 public: |
| 43 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. | 44 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. |
| 44 enum { | 45 enum { |
| 45 LENGTHADJUST_UNKNOWN = SVGLengthAdjustUnknown, | 46 LENGTHADJUST_UNKNOWN = SVGLengthAdjustUnknown, |
| 46 LENGTHADJUST_SPACING = SVGLengthAdjustSpacing, | 47 LENGTHADJUST_SPACING = SVGLengthAdjustSpacing, |
| 47 LENGTHADJUST_SPACINGANDGLYPHS = SVGLengthAdjustSpacingAndGlyphs | 48 LENGTHADJUST_SPACINGANDGLYPHS = SVGLengthAdjustSpacingAndGlyphs |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 unsigned getNumberOfChars(); | 51 unsigned getNumberOfChars(); |
| 51 float getComputedTextLength(); | 52 float getComputedTextLength(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 85 |
| 85 inline bool isSVGTextContentElement(const SVGElement& element) | 86 inline bool isSVGTextContentElement(const SVGElement& element) |
| 86 { | 87 { |
| 87 return element.isTextContent(); | 88 return element.isTextContent(); |
| 88 } | 89 } |
| 89 | 90 |
| 90 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextContentElement); | 91 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextContentElement); |
| 91 | 92 |
| 92 } // namespace blink | 93 } // namespace blink |
| 93 | 94 |
| 94 #endif | 95 #endif // SVGTextContentElement_h |
| OLD | NEW |