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

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

Issue 177803003: [SVG] Make all C-macros used in the old property implementation NOOP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: styles Created 6 years, 9 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/SVGGElement.cpp ('k') | Source/core/svg/SVGGradientElement.cpp » ('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) 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 25 matching lines...) Expand all
36 36
37 inline SVGGlyphRefElement::SVGGlyphRefElement(Document& document) 37 inline SVGGlyphRefElement::SVGGlyphRefElement(Document& document)
38 : SVGElement(SVGNames::glyphRefTag, document) 38 : SVGElement(SVGNames::glyphRefTag, document)
39 , SVGURIReference(this) 39 , SVGURIReference(this)
40 , m_x(0) 40 , m_x(0)
41 , m_y(0) 41 , m_y(0)
42 , m_dx(0) 42 , m_dx(0)
43 , m_dy(0) 43 , m_dy(0)
44 { 44 {
45 ScriptWrappable::init(this); 45 ScriptWrappable::init(this);
46 registerAnimatedPropertiesForSVGGlyphRefElement();
47 } 46 }
48 47
49 PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(Document& document) 48 PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(Document& document)
50 { 49 {
51 return adoptRef(new SVGGlyphRefElement(document)); 50 return adoptRef(new SVGGlyphRefElement(document));
52 } 51 }
53 52
54 bool SVGGlyphRefElement::hasValidGlyphElement(AtomicString& glyphName) const 53 bool SVGGlyphRefElement::hasValidGlyphElement(AtomicString& glyphName) const
55 { 54 {
56 // FIXME: We only support xlink:href so far. 55 // FIXME: We only support xlink:href so far.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void SVGGlyphRefElement::setDy(float dy) 126 void SVGGlyphRefElement::setDy(float dy)
128 { 127 {
129 // FIXME: Honor attribute change. 128 // FIXME: Honor attribute change.
130 // https://bugs.webkit.org/show_bug.cgi?id=64787 129 // https://bugs.webkit.org/show_bug.cgi?id=64787
131 m_dy = dy; 130 m_dy = dy;
132 } 131 }
133 132
134 } 133 }
135 134
136 #endif 135 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGGElement.cpp ('k') | Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698