OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 24 matching lines...) Expand all Loading... |
35 DECLARE_NODE_FACTORY(SVGFontFaceUriElement); | 35 DECLARE_NODE_FACTORY(SVGFontFaceUriElement); |
36 | 36 |
37 virtual ~SVGFontFaceUriElement(); | 37 virtual ~SVGFontFaceUriElement(); |
38 | 38 |
39 PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> srcValue() const; | 39 PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> srcValue() const; |
40 | 40 |
41 private: | 41 private: |
42 explicit SVGFontFaceUriElement(Document&); | 42 explicit SVGFontFaceUriElement(Document&); |
43 | 43 |
44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
45 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 45 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
46 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 46 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
47 | 47 |
48 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 48 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
49 | 49 |
50 void loadFont(); | 50 void loadFont(); |
51 | 51 |
52 ResourcePtr<FontResource> m_resource; | 52 ResourcePtr<FontResource> m_resource; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace WebCore | 55 } // namespace WebCore |
56 | 56 |
57 #endif // ENABLE(SVG_FONTS) | 57 #endif // ENABLE(SVG_FONTS) |
58 #endif | 58 #endif |
59 | 59 |
60 // vim:ts=4:noet | 60 // vim:ts=4:noet |
OLD | NEW |