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

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

Issue 712813002: Count internal use of DOMImplementation::hasFeature() returning false (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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/frame/UseCounter.h ('k') | Source/core/svg/SVGCursorElement.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 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual void setTargetElement(SVGElement*) override; 160 virtual void setTargetElement(SVGElement*) override;
161 virtual void setAttributeName(const QualifiedName&) override; 161 virtual void setAttributeName(const QualifiedName&) override;
162 162
163 bool hasInvalidCSSAttributeType() const { return m_hasInvalidCSSAttributeTyp e; } 163 bool hasInvalidCSSAttributeType() const { return m_hasInvalidCSSAttributeTyp e; }
164 164
165 virtual void updateAnimationMode(); 165 virtual void updateAnimationMode();
166 void setAnimationMode(AnimationMode animationMode) { m_animationMode = anima tionMode; } 166 void setAnimationMode(AnimationMode animationMode) { m_animationMode = anima tionMode; }
167 void setCalcMode(CalcMode calcMode) { m_calcMode = calcMode; } 167 void setCalcMode(CalcMode calcMode) { m_calcMode = calcMode; }
168 168
169 private: 169 private:
170 virtual bool isValid() const override final { return SVGTests::isValid(); } 170 virtual bool isValid() const override final { return SVGTests::isValid(docum ent()); }
171 171
172 virtual void animationAttributeChanged() override; 172 virtual void animationAttributeChanged() override;
173 void setAttributeType(const AtomicString&); 173 void setAttributeType(const AtomicString&);
174 174
175 void checkInvalidCSSAttributeType(SVGElement*); 175 void checkInvalidCSSAttributeType(SVGElement*);
176 176
177 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration String) = 0; 177 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration String) = 0;
178 virtual bool calculateFromAndToValues(const String& fromString, const String & toString) = 0; 178 virtual bool calculateFromAndToValues(const String& fromString, const String & toString) = 0;
179 virtual bool calculateFromAndByValues(const String& fromString, const String & byString) = 0; 179 virtual bool calculateFromAndByValues(const String& fromString, const String & byString) = 0;
180 virtual void calculateAnimatedValue(float percent, unsigned repeatCount, SVG SMILElement* resultElement) = 0; 180 virtual void calculateAnimatedValue(float percent, unsigned repeatCount, SVG SMILElement* resultElement) = 0;
(...skipping 24 matching lines...) Expand all
205 String m_lastValuesAnimationFrom; 205 String m_lastValuesAnimationFrom;
206 String m_lastValuesAnimationTo; 206 String m_lastValuesAnimationTo;
207 bool m_hasInvalidCSSAttributeType; 207 bool m_hasInvalidCSSAttributeType;
208 CalcMode m_calcMode; 208 CalcMode m_calcMode;
209 AnimationMode m_animationMode; 209 AnimationMode m_animationMode;
210 }; 210 };
211 211
212 } // namespace blink 212 } // namespace blink
213 213
214 #endif // SVGAnimationElement_h 214 #endif // SVGAnimationElement_h
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/svg/SVGCursorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698