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 13 matching lines...) Expand all Loading... | |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef SVGAnimatedProperty_h | 31 #ifndef SVGAnimatedProperty_h |
32 #define SVGAnimatedProperty_h | 32 #define SVGAnimatedProperty_h |
33 | 33 |
34 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 34 #include "bindings/core/v8/ExceptionState.h" |
35 #include "bindings/core/v8/ScriptWrappable.h" | |
36 #include "core/dom/ExceptionCode.h" | 35 #include "core/dom/ExceptionCode.h" |
37 #include "core/svg/SVGParsingError.h" | 36 #include "core/svg/SVGParsingError.h" |
38 #include "core/svg/properties/SVGPropertyInfo.h" | 37 #include "core/svg/properties/SVGPropertyInfo.h" |
39 #include "core/svg/properties/SVGPropertyTearOff.h" | 38 #include "core/svg/properties/SVGPropertyTearOff.h" |
40 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
41 #include "wtf/Noncopyable.h" | 40 #include "wtf/Noncopyable.h" |
42 #include "wtf/PassRefPtr.h" | 41 #include "wtf/PassRefPtr.h" |
43 #include "wtf/RefCounted.h" | 42 #include "wtf/RefCounted.h" |
44 | 43 |
45 namespace blink { | 44 namespace blink { |
46 | 45 |
47 class SVGElement; | 46 class SVGElement; |
48 | 47 |
49 class SVGAnimatedPropertyBase : public RefCountedWillBeGarbageCollectedFinalized <SVGAnimatedPropertyBase>, public ScriptWrappable { | 48 class SVGAnimatedPropertyBase : public RefCountedWillBeGarbageCollectedFinalized <SVGAnimatedPropertyBase> { |
50 DEFINE_WRAPPERTYPEINFO_NOT_REACHED(); | |
haraken
2016/03/19 00:09:12
SVGAnimatedPropertyBase was the only customer of t
fs
2016/03/21 09:17:48
Removed.
| |
51 WTF_MAKE_NONCOPYABLE(SVGAnimatedPropertyBase); | 49 WTF_MAKE_NONCOPYABLE(SVGAnimatedPropertyBase); |
52 public: | 50 public: |
53 virtual ~SVGAnimatedPropertyBase(); | 51 virtual ~SVGAnimatedPropertyBase(); |
54 | 52 |
55 virtual SVGPropertyBase* currentValueBase() = 0; | 53 virtual SVGPropertyBase* currentValueBase() = 0; |
56 virtual const SVGPropertyBase& baseValueBase() const = 0; | 54 virtual const SVGPropertyBase& baseValueBase() const = 0; |
57 virtual bool isAnimating() const = 0; | 55 virtual bool isAnimating() const = 0; |
58 | 56 |
59 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() = 0; | 57 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() = 0; |
60 virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) = 0; | 58 virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) = 0; |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
348 protected: | 346 protected: |
349 SVGAnimatedProperty(SVGElement* contextElement, const QualifiedName& attribu teName, PassRefPtrWillBeRawPtr<Property> initialValue) | 347 SVGAnimatedProperty(SVGElement* contextElement, const QualifiedName& attribu teName, PassRefPtrWillBeRawPtr<Property> initialValue) |
350 : SVGAnimatedPropertyCommon<Property>(contextElement, attributeName, ini tialValue) | 348 : SVGAnimatedPropertyCommon<Property>(contextElement, attributeName, ini tialValue) |
351 { | 349 { |
352 } | 350 } |
353 }; | 351 }; |
354 | 352 |
355 } // namespace blink | 353 } // namespace blink |
356 | 354 |
357 #endif // SVGAnimatedProperty_h | 355 #endif // SVGAnimatedProperty_h |
OLD | NEW |