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

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

Issue 169103002: Drop [LegacyImplementedInBaseClass] from SVGURIReference IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Leo Yang <leoyang@webkit.org> 2 * Copyright (C) 2011 Leo Yang <leoyang@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 28 matching lines...) Expand all
39 const AtomicString& glyphRef() const; 39 const AtomicString& glyphRef() const;
40 void setGlyphRef(const AtomicString&); 40 void setGlyphRef(const AtomicString&);
41 float x() const { return m_x; } 41 float x() const { return m_x; }
42 void setX(float); 42 void setX(float);
43 float y() const { return m_y; } 43 float y() const { return m_y; }
44 void setY(float); 44 void setY(float);
45 float dx() const { return m_dx; } 45 float dx() const { return m_dx; }
46 void setDx(float); 46 void setDx(float);
47 float dy() const { return m_dy; } 47 float dy() const { return m_dy; }
48 void setDy(float); 48 void setDy(float);
49 SVGAnimatedString* href() { return m_href.get(); }
50 49
51 private: 50 private:
52 explicit SVGGlyphRefElement(Document&); 51 explicit SVGGlyphRefElement(Document&);
53 52
54 template<typename CharType> 53 template<typename CharType>
55 void parseAttributeInternal(const QualifiedName&, const AtomicString&); 54 void parseAttributeInternal(const QualifiedName&, const AtomicString&);
56 55
57 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
58 57
59 RefPtr<SVGAnimatedString> m_href;
60 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGlyphRefElement) 58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGlyphRefElement)
61 END_DECLARE_ANIMATED_PROPERTIES 59 END_DECLARE_ANIMATED_PROPERTIES
62 60
63 float m_x; 61 float m_x;
64 float m_y; 62 float m_y;
65 float m_dx; 63 float m_dx;
66 float m_dy; 64 float m_dy;
67 }; 65 };
68 66
69 DEFINE_NODE_TYPE_CASTS(SVGGlyphRefElement, hasTagName(SVGNames::glyphRefTag)); 67 DEFINE_NODE_TYPE_CASTS(SVGGlyphRefElement, hasTagName(SVGNames::glyphRefTag));
70 68
71 } 69 }
72 70
73 #endif 71 #endif
74 #endif 72 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698