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

Side by Side Diff: Source/core/svg/SVGRadialGradientElement.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/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.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) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // SVG2-Draft Spec: If the fr attributed is not specified, the effect is as if a value of "0%" were specified. 57 // SVG2-Draft Spec: If the fr attributed is not specified, the effect is as if a value of "0%" were specified.
58 m_fr->setDefaultValueAsString("0%"); 58 m_fr->setDefaultValueAsString("0%");
59 59
60 addToPropertyMap(m_cx); 60 addToPropertyMap(m_cx);
61 addToPropertyMap(m_cy); 61 addToPropertyMap(m_cy);
62 addToPropertyMap(m_r); 62 addToPropertyMap(m_r);
63 addToPropertyMap(m_fx); 63 addToPropertyMap(m_fx);
64 addToPropertyMap(m_fy); 64 addToPropertyMap(m_fy);
65 addToPropertyMap(m_fr); 65 addToPropertyMap(m_fr);
66 registerAnimatedPropertiesForSVGRadialGradientElement();
67 } 66 }
68 67
69 PassRefPtr<SVGRadialGradientElement> SVGRadialGradientElement::create(Document& document) 68 PassRefPtr<SVGRadialGradientElement> SVGRadialGradientElement::create(Document& document)
70 { 69 {
71 return adoptRef(new SVGRadialGradientElement(document)); 70 return adoptRef(new SVGRadialGradientElement(document));
72 } 71 }
73 72
74 bool SVGRadialGradientElement::isSupportedAttribute(const QualifiedName& attrNam e) 73 bool SVGRadialGradientElement::isSupportedAttribute(const QualifiedName& attrNam e)
75 { 74 {
76 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); 75 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 { 217 {
219 return m_cx->currentValue()->isRelative() 218 return m_cx->currentValue()->isRelative()
220 || m_cy->currentValue()->isRelative() 219 || m_cy->currentValue()->isRelative()
221 || m_r->currentValue()->isRelative() 220 || m_r->currentValue()->isRelative()
222 || m_fx->currentValue()->isRelative() 221 || m_fx->currentValue()->isRelative()
223 || m_fy->currentValue()->isRelative() 222 || m_fy->currentValue()->isRelative()
224 || m_fr->currentValue()->isRelative(); 223 || m_fr->currentValue()->isRelative();
225 } 224 }
226 225
227 } 226 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698