Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: Source/core/svg/SVGAltGlyphElement.h

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGAltGlyphDefElement.h ('k') | Source/core/svg/SVGAltGlyphItemElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
24 24
25 #if ENABLE(SVG_FONTS) 25 #if ENABLE(SVG_FONTS)
26 #include "SVGTextPositioningElement.h" 26 #include "SVGTextPositioningElement.h"
27 #include "SVGURIReference.h" 27 #include "SVGURIReference.h"
28 #include <wtf/Vector.h> 28 #include <wtf/Vector.h>
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class SVGGlyphElement; 32 class SVGGlyphElement;
33 33
34 class SVGAltGlyphElement : public SVGTextPositioningElement, 34 class SVGAltGlyphElement FINAL : public SVGTextPositioningElement,
35 public SVGURIReference { 35 public SVGURIReference {
36 public: 36 public:
37 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document* ); 37 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document* );
38 38
39 const AtomicString& glyphRef() const; 39 const AtomicString& glyphRef() const;
40 void setGlyphRef(const AtomicString&, ExceptionCode&); 40 void setGlyphRef(const AtomicString&, ExceptionCode&);
41 const AtomicString& format() const; 41 const AtomicString& format() const;
42 void setFormat(const AtomicString&, ExceptionCode&); 42 void setFormat(const AtomicString&, ExceptionCode&);
43 43
44 bool hasValidGlyphElements(Vector<String>& glyphNames) const; 44 bool hasValidGlyphElements(Vector<String>& glyphNames) const;
45 45
46 private: 46 private:
47 SVGAltGlyphElement(const QualifiedName&, Document*); 47 SVGAltGlyphElement(const QualifiedName&, Document*);
48 48
49 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 49 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
50 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 50 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
51 51
52 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement) 52 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement)
53 DECLARE_ANIMATED_STRING(Href, href) 53 DECLARE_ANIMATED_STRING(Href, href)
54 END_DECLARE_ANIMATED_PROPERTIES 54 END_DECLARE_ANIMATED_PROPERTIES
55 }; 55 };
56 56
57 } // namespace WebCore 57 } // namespace WebCore
58 58
59 #endif // ENABLE(SVG) 59 #endif // ENABLE(SVG)
60 #endif 60 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAltGlyphDefElement.h ('k') | Source/core/svg/SVGAltGlyphItemElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698