OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 public: | 48 public: |
49 virtual ~SVGAnimatedPropertyBase(); | 49 virtual ~SVGAnimatedPropertyBase(); |
50 | 50 |
51 virtual SVGPropertyBase* currentValueBase() = 0; | 51 virtual SVGPropertyBase* currentValueBase() = 0; |
52 virtual bool isAnimating() const = 0; | 52 virtual bool isAnimating() const = 0; |
53 | 53 |
54 virtual PassRefPtr<SVGPropertyBase> createAnimatedValue() = 0; | 54 virtual PassRefPtr<SVGPropertyBase> createAnimatedValue() = 0; |
55 virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase>) = 0; | 55 virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase>) = 0; |
56 virtual void animationEnded(); | 56 virtual void animationEnded(); |
57 | 57 |
| 58 virtual void setBaseValueAsString(const String& value, SVGParsingError& pars
eError) = 0; |
58 virtual bool needsSynchronizeAttribute() = 0; | 59 virtual bool needsSynchronizeAttribute() = 0; |
59 virtual void synchronizeAttribute(); | 60 virtual void synchronizeAttribute(); |
60 | 61 |
61 AnimatedPropertyType type() const | 62 AnimatedPropertyType type() const |
62 { | 63 { |
63 return m_type; | 64 return m_type; |
64 } | 65 } |
65 | 66 |
66 SVGElement* contextElement() const | 67 SVGElement* contextElement() const |
67 { | 68 { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 // When animated: | 300 // When animated: |
300 // m_animValTearOff targets m_currentValue. | 301 // m_animValTearOff targets m_currentValue. |
301 // m_baseValTearOff targets m_baseValue. | 302 // m_baseValTearOff targets m_baseValue. |
302 RefPtr<TearOffType> m_baseValTearOff; | 303 RefPtr<TearOffType> m_baseValTearOff; |
303 RefPtr<TearOffType> m_animValTearOff; | 304 RefPtr<TearOffType> m_animValTearOff; |
304 }; | 305 }; |
305 | 306 |
306 } | 307 } |
307 | 308 |
308 #endif // SVGAnimatedProperty_h | 309 #endif // SVGAnimatedProperty_h |
OLD | NEW |