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

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

Issue 1074813002: Remove isSupportedAttribute in svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: invalidation guard tweaks Created 5 years, 8 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) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 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) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au> 6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au>
7 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 else 129 else
130 animatedNumber = number; 130 animatedNumber = number;
131 } 131 }
132 132
133 protected: 133 protected:
134 SVGAnimationElement(const QualifiedName&, Document&); 134 SVGAnimationElement(const QualifiedName&, Document&);
135 135
136 void computeCSSPropertyValue(SVGElement*, CSSPropertyID, String& value); 136 void computeCSSPropertyValue(SVGElement*, CSSPropertyID, String& value);
137 void determinePropertyValueTypes(const String& from, const String& to); 137 void determinePropertyValueTypes(const String& from, const String& to);
138 138
139 bool isSupportedAttribute(const QualifiedName&);
140 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 139 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
141 virtual void svgAttributeChanged(const QualifiedName&) override; 140 virtual void svgAttributeChanged(const QualifiedName&) override;
142 141
143 enum AttributeType { 142 enum AttributeType {
144 AttributeTypeCSS, 143 AttributeTypeCSS,
145 AttributeTypeXML, 144 AttributeTypeXML,
146 AttributeTypeAuto 145 AttributeTypeAuto
147 }; 146 };
148 AttributeType attributeType() const { return m_attributeType; } 147 AttributeType attributeType() const { return m_attributeType; }
149 148
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 String m_lastValuesAnimationFrom; 205 String m_lastValuesAnimationFrom;
207 String m_lastValuesAnimationTo; 206 String m_lastValuesAnimationTo;
208 bool m_hasInvalidCSSAttributeType; 207 bool m_hasInvalidCSSAttributeType;
209 CalcMode m_calcMode; 208 CalcMode m_calcMode;
210 AnimationMode m_animationMode; 209 AnimationMode m_animationMode;
211 }; 210 };
212 211
213 } // namespace blink 212 } // namespace blink
214 213
215 #endif // SVGAnimationElement_h 214 #endif // SVGAnimationElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimationElement.cpp » ('j') | Source/core/svg/SVGSVGElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698