OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 float verticalAdvanceY() const; | 44 float verticalAdvanceY() const; |
45 int ascent() const; | 45 int ascent() const; |
46 int descent() const; | 46 int descent() const; |
47 String fontFamily() const; | 47 String fontFamily() const; |
48 | 48 |
49 SVGFontElement* associatedFontElement() const; | 49 SVGFontElement* associatedFontElement() const; |
50 void rebuildFontFace(); | 50 void rebuildFontFace(); |
51 | 51 |
52 Result<StyleRuleFontFace> fontFaceRule() const { return m_fontFaceRule; } | 52 Result<StyleRuleFontFace> fontFaceRule() const { return m_fontFaceRule; } |
53 | 53 |
| 54 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi
sitor); } |
| 55 |
54 private: | 56 private: |
55 SVGFontFaceElement(const QualifiedName&, const Handle<Document>&); | 57 SVGFontFaceElement(const QualifiedName&, const Handle<Document>&); |
56 | 58 |
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 59 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
58 | 60 |
59 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); | 61 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
60 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 62 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
61 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 63 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
62 | 64 |
63 Persistent<StyleRuleFontFace> m_fontFaceRule; | 65 Persistent<StyleRuleFontFace> m_fontFaceRule; |
64 SVGFontElement* m_fontElement; | 66 SVGFontElement* m_fontElement; |
65 }; | 67 }; |
66 | 68 |
67 } // namespace WebCore | 69 } // namespace WebCore |
68 | 70 |
69 #endif // ENABLE(SVG_FONTS) | 71 #endif // ENABLE(SVG_FONTS) |
70 #endif | 72 #endif |
71 | 73 |
72 // vim:ts=4:noet | 74 // vim:ts=4:noet |
OLD | NEW |