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

Side by Side Diff: Source/WebCore/svg/SVGAnimateMotionElement.h

Issue 11229037: Merge 129670 - Refactor SMILTimeContainer to maintain animation information instead of recalculatin… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | Source/WebCore/svg/SVGAnimateMotionElement.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 17 matching lines...) Expand all
28 namespace WebCore { 28 namespace WebCore {
29 29
30 class SVGAnimateMotionElement : public SVGAnimationElement { 30 class SVGAnimateMotionElement : public SVGAnimationElement {
31 public: 31 public:
32 static PassRefPtr<SVGAnimateMotionElement> create(const QualifiedName&, Docu ment*); 32 static PassRefPtr<SVGAnimateMotionElement> create(const QualifiedName&, Docu ment*);
33 33
34 private: 34 private:
35 SVGAnimateMotionElement(const QualifiedName&, Document*); 35 SVGAnimateMotionElement(const QualifiedName&, Document*);
36 36
37 virtual bool hasValidAttributeType(); 37 virtual bool hasValidAttributeType();
38 virtual bool hasValidAttributeName();
38 39
39 bool isSupportedAttribute(const QualifiedName&); 40 bool isSupportedAttribute(const QualifiedName&);
40 virtual void parseAttribute(const Attribute&) OVERRIDE; 41 virtual void parseAttribute(const Attribute&) OVERRIDE;
41 42
42 virtual void resetAnimatedType(); 43 virtual void resetAnimatedType();
43 virtual void clearAnimatedType(SVGElement* targetElement); 44 virtual void clearAnimatedType(SVGElement* targetElement);
44 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration String); 45 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration String);
45 virtual bool calculateFromAndToValues(const String& fromString, const String & toString); 46 virtual bool calculateFromAndToValues(const String& fromString, const String & toString);
46 virtual bool calculateFromAndByValues(const String& fromString, const String & byString); 47 virtual bool calculateFromAndByValues(const String& fromString, const String & byString);
47 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGSMILElement* resultElement); 48 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGSMILElement* resultElement);
(...skipping 16 matching lines...) Expand all
64 FloatPoint m_toPoint; 65 FloatPoint m_toPoint;
65 FloatPoint m_toPointAtEndOfDuration; 66 FloatPoint m_toPointAtEndOfDuration;
66 67
67 Path m_path; 68 Path m_path;
68 }; 69 };
69 70
70 } // namespace WebCore 71 } // namespace WebCore
71 72
72 #endif // ENABLE(SVG) 73 #endif // ENABLE(SVG)
73 #endif // SVGAnimateMotionElement_h 74 #endif // SVGAnimateMotionElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/svg/SVGAnimateMotionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698