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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.h

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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
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 22 matching lines...) Expand all
33 ~SVGAnimateMotionElement() override; 33 ~SVGAnimateMotionElement() override;
34 34
35 DECLARE_NODE_FACTORY(SVGAnimateMotionElement); 35 DECLARE_NODE_FACTORY(SVGAnimateMotionElement);
36 void updateAnimationPath(); 36 void updateAnimationPath();
37 37
38 private: 38 private:
39 explicit SVGAnimateMotionElement(Document&); 39 explicit SVGAnimateMotionElement(Document&);
40 40
41 bool hasValidTarget() override; 41 bool hasValidTarget() override;
42 42
43 void parseAttribute(const QualifiedName&, 43 void parseAttribute(const AttributeModificationParams&) override;
44 const AtomicString&,
45 const AtomicString&) override;
46 44
47 void resetAnimatedType() override; 45 void resetAnimatedType() override;
48 void clearAnimatedType() override; 46 void clearAnimatedType() override;
49 bool calculateToAtEndOfDurationValue( 47 bool calculateToAtEndOfDurationValue(
50 const String& toAtEndOfDurationString) override; 48 const String& toAtEndOfDurationString) override;
51 bool calculateFromAndToValues(const String& fromString, 49 bool calculateFromAndToValues(const String& fromString,
52 const String& toString) override; 50 const String& toString) override;
53 bool calculateFromAndByValues(const String& fromString, 51 bool calculateFromAndByValues(const String& fromString,
54 const String& byString) override; 52 const String& byString) override;
55 void calculateAnimatedValue(float percentage, 53 void calculateAnimatedValue(float percentage,
(...skipping 18 matching lines...) Expand all
74 FloatPoint m_toPoint; 72 FloatPoint m_toPoint;
75 FloatPoint m_toPointAtEndOfDuration; 73 FloatPoint m_toPointAtEndOfDuration;
76 74
77 Path m_path; 75 Path m_path;
78 Path m_animationPath; 76 Path m_animationPath;
79 }; 77 };
80 78
81 } // namespace blink 79 } // namespace blink
82 80
83 #endif // SVGAnimateMotionElement_h 81 #endif // SVGAnimateMotionElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698