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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 private: | 54 private: |
55 SVGFontFaceElement(const QualifiedName&, Handle<Document>); | 55 SVGFontFaceElement(const QualifiedName&, Handle<Document>); |
56 | 56 |
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
58 | 58 |
59 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 59 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; | 60 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
61 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 61 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
62 | 62 |
63 Persistent<StyleRuleFontFace> m_fontFaceRule; | 63 Persistent<StyleRuleFontFace> m_fontFaceRule; |
64 SVGFontElement* m_fontElement; | 64 SVGFontElement* m_fontElement; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace WebCore | 67 } // namespace WebCore |
68 | 68 |
69 #endif // ENABLE(SVG_FONTS) | 69 #endif // ENABLE(SVG_FONTS) |
70 #endif | 70 #endif |
71 | 71 |
72 // vim:ts=4:noet | 72 // vim:ts=4:noet |
OLD | NEW |