OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 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) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 19 matching lines...) Expand all Loading... | |
30 #include "bindings/v8/ExceptionMessages.h" | 30 #include "bindings/v8/ExceptionMessages.h" |
31 #include "bindings/v8/ExceptionState.h" | 31 #include "bindings/v8/ExceptionState.h" |
32 #include "core/dom/ExceptionCode.h" | 32 #include "core/dom/ExceptionCode.h" |
33 #include "core/rendering/svg/RenderSVGTSpan.h" | 33 #include "core/rendering/svg/RenderSVGTSpan.h" |
34 #include "core/svg/SVGAltGlyphDefElement.h" | 34 #include "core/svg/SVGAltGlyphDefElement.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 // Animated property definitions | 38 // Animated property definitions |
39 | 39 |
40 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAltGlyphElement) | |
41 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextPositioningElement) | |
42 END_REGISTER_ANIMATED_PROPERTIES | |
43 | 40 |
haraken
2014/03/05 14:08:24
Ditto.
kouhei (in TOK)
2014/03/06 03:46:05
Done.
| |
44 inline SVGAltGlyphElement::SVGAltGlyphElement(Document& document) | 41 inline SVGAltGlyphElement::SVGAltGlyphElement(Document& document) |
45 : SVGTextPositioningElement(SVGNames::altGlyphTag, document) | 42 : SVGTextPositioningElement(SVGNames::altGlyphTag, document) |
46 , SVGURIReference(this) | 43 , SVGURIReference(this) |
47 { | 44 { |
48 ScriptWrappable::init(this); | 45 ScriptWrappable::init(this); |
49 } | 46 } |
50 | 47 |
51 PassRefPtr<SVGAltGlyphElement> SVGAltGlyphElement::create(Document& document) | 48 PassRefPtr<SVGAltGlyphElement> SVGAltGlyphElement::create(Document& document) |
52 { | 49 { |
53 return adoptRef(new SVGAltGlyphElement(document)); | 50 return adoptRef(new SVGAltGlyphElement(document)); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
93 if (element->hasTagName(SVGNames::altGlyphDefTag) | 90 if (element->hasTagName(SVGNames::altGlyphDefTag) |
94 && toSVGAltGlyphDefElement(element)->hasValidGlyphElements(glyphNames)) | 91 && toSVGAltGlyphDefElement(element)->hasValidGlyphElements(glyphNames)) |
95 return true; | 92 return true; |
96 | 93 |
97 return false; | 94 return false; |
98 } | 95 } |
99 | 96 |
100 } | 97 } |
101 | 98 |
102 #endif | 99 #endif |
OLD | NEW |