| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 class SVGFontFaceUriElement : public SVGElement, public CachedFontClient { | 32 class SVGFontFaceUriElement : public SVGElement, public CachedFontClient { |
| 33 DEFINE_SELF_HANDLE(SVGFontFaceUriElement) | 33 DEFINE_SELF_HANDLE(SVGFontFaceUriElement) |
| 34 public: | 34 public: |
| 35 static PassRefPtr<SVGFontFaceUriElement> create(const QualifiedName&, const
Handle<Document>&); | 35 static PassRefPtr<SVGFontFaceUriElement> create(const QualifiedName&, const
Handle<Document>&); |
| 36 | 36 |
| 37 virtual ~SVGFontFaceUriElement(); | 37 virtual ~SVGFontFaceUriElement(); |
| 38 | 38 |
| 39 Result<CSSFontFaceSrcValue> srcValue() const; | 39 Result<CSSFontFaceSrcValue> srcValue() const; |
| 40 | 40 |
| 41 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi
sitor); } |
| 42 |
| 41 private: | 43 private: |
| 42 SVGFontFaceUriElement(const QualifiedName&, const Handle<Document>&); | 44 SVGFontFaceUriElement(const QualifiedName&, const Handle<Document>&); |
| 43 | 45 |
| 44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 45 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); | 47 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
| 46 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 48 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
| 47 | 49 |
| 48 void loadFont(); | 50 void loadFont(); |
| 49 | 51 |
| 50 CachedResourceHandle<CachedFont> m_cachedFont; | 52 CachedResourceHandle<CachedFont> m_cachedFont; |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } // namespace WebCore | 55 } // namespace WebCore |
| 54 | 56 |
| 55 #endif // ENABLE(SVG_FONTS) | 57 #endif // ENABLE(SVG_FONTS) |
| 56 #endif | 58 #endif |
| 57 | 59 |
| 58 // vim:ts=4:noet | 60 // vim:ts=4:noet |
| OLD | NEW |