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 15 matching lines...) Expand all Loading... |
26 #include "core/svg/SVGFontElement.h" | 26 #include "core/svg/SVGFontElement.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class SVGHKernElement : public SVGElement { | 30 class SVGHKernElement : public SVGElement { |
31 public: | 31 public: |
32 static PassRefPtr<SVGHKernElement> create(const QualifiedName&, const Handle
<Document>&); | 32 static PassRefPtr<SVGHKernElement> create(const QualifiedName&, const Handle
<Document>&); |
33 | 33 |
34 void buildHorizontalKerningPair(KerningPairVector&); | 34 void buildHorizontalKerningPair(KerningPairVector&); |
35 | 35 |
| 36 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi
sitor); } |
| 37 |
36 private: | 38 private: |
37 SVGHKernElement(const QualifiedName&, const Handle<Document>&); | 39 SVGHKernElement(const QualifiedName&, const Handle<Document>&); |
38 | 40 |
39 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 41 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
40 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 42 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
41 | 43 |
42 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } | 44 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } |
43 }; | 45 }; |
44 | 46 |
45 } // namespace WebCore | 47 } // namespace WebCore |
46 | 48 |
47 #endif // ENABLE(SVG_FONTS) | 49 #endif // ENABLE(SVG_FONTS) |
48 #endif | 50 #endif |
OLD | NEW |