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

Side by Side Diff: Source/core/svg/properties/SVGAnimatedProperty.h

Issue 208523005: Remove unused animation code after SVG prop migration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 G* * Redistributions in binary form must reproduce the above 10 G* * Redistributions in binary form must reproduce the above
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 void setReadOnly() 87 void setReadOnly()
88 { 88 {
89 m_isReadOnly = true; 89 m_isReadOnly = true;
90 } 90 }
91 91
92 bool isSpecified() const; 92 bool isSpecified() const;
93 93
94 protected: 94 protected:
95 SVGAnimatedPropertyBase(AnimatedPropertyType, SVGElement*, const QualifiedNa me& attributeName); 95 SVGAnimatedPropertyBase(AnimatedPropertyType, SVGElement*, const QualifiedNa me& attributeName);
96 void commitChange();
97 96
98 private: 97 private:
99 const AnimatedPropertyType m_type; 98 const AnimatedPropertyType m_type;
100 bool m_isReadOnly; 99 bool m_isReadOnly;
101 bool m_isAnimating; 100 bool m_isAnimating;
102 101
103 // This reference is kept alive from V8 wrapper 102 // This reference is kept alive from V8 wrapper
104 SVGElement* m_contextElement; 103 SVGElement* m_contextElement;
105 104
106 const QualifiedName& m_attributeName; 105 const QualifiedName& m_attributeName;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // When animated: 309 // When animated:
311 // m_animValTearOff targets m_currentValue. 310 // m_animValTearOff targets m_currentValue.
312 // m_baseValTearOff targets m_baseValue. 311 // m_baseValTearOff targets m_baseValue.
313 RefPtr<TearOffType> m_baseValTearOff; 312 RefPtr<TearOffType> m_baseValTearOff;
314 RefPtr<TearOffType> m_animValTearOff; 313 RefPtr<TearOffType> m_animValTearOff;
315 }; 314 };
316 315
317 } 316 }
318 317
319 #endif // SVGAnimatedProperty_h 318 #endif // SVGAnimatedProperty_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimationElement.h ('k') | Source/core/svg/properties/SVGAnimatedProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698