OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@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 17 matching lines...) Expand all Loading... |
28 #include "wtf/Vector.h" | 28 #include "wtf/Vector.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class ExceptionState; | 32 class ExceptionState; |
33 class SVGGlyphElement; | 33 class SVGGlyphElement; |
34 | 34 |
35 class SVGAltGlyphElement FINAL : public SVGTextPositioningElement, | 35 class SVGAltGlyphElement FINAL : public SVGTextPositioningElement, |
36 public SVGURIReference { | 36 public SVGURIReference { |
37 public: | 37 public: |
38 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document*
); | 38 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document&
); |
39 | 39 |
40 const AtomicString& glyphRef() const; | 40 const AtomicString& glyphRef() const; |
41 void setGlyphRef(const AtomicString&, ExceptionState&); | 41 void setGlyphRef(const AtomicString&, ExceptionState&); |
42 const AtomicString& format() const; | 42 const AtomicString& format() const; |
43 void setFormat(const AtomicString&, ExceptionState&); | 43 void setFormat(const AtomicString&, ExceptionState&); |
44 | 44 |
45 bool hasValidGlyphElements(Vector<String>& glyphNames) const; | 45 bool hasValidGlyphElements(Vector<String>& glyphNames) const; |
46 | 46 |
47 private: | 47 private: |
48 SVGAltGlyphElement(const QualifiedName&, Document*); | 48 SVGAltGlyphElement(const QualifiedName&, Document&); |
49 | 49 |
50 virtual RenderObject* createRenderer(RenderStyle*); | 50 virtual RenderObject* createRenderer(RenderStyle*); |
51 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 51 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
52 | 52 |
53 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement) | 53 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement) |
54 DECLARE_ANIMATED_STRING(Href, href) | 54 DECLARE_ANIMATED_STRING(Href, href) |
55 END_DECLARE_ANIMATED_PROPERTIES | 55 END_DECLARE_ANIMATED_PROPERTIES |
56 }; | 56 }; |
57 | 57 |
58 } // namespace WebCore | 58 } // namespace WebCore |
59 | 59 |
60 #endif | 60 #endif |
61 #endif | 61 #endif |
OLD | NEW |