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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // This is used from SVGAnimatedNewPropertyAnimator for its animate-by-strin
g implementation. | 63 // This is used from SVGAnimatedNewPropertyAnimator for its animate-by-strin
g implementation. |
64 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri
ng&) const = 0; | 64 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri
ng&) const = 0; |
65 | 65 |
66 virtual String valueAsString() const = 0; | 66 virtual String valueAsString() const = 0; |
67 | 67 |
68 // FIXME: remove below and just have this inherit AnimatableValue in WebAnim
ations transition. | 68 // FIXME: remove below and just have this inherit AnimatableValue in WebAnim
ations transition. |
69 virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) = 0; | 69 virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) = 0; |
70 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage,
unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWi
llBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndO
fDurationValue, SVGElement*) = 0; | 70 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage,
unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWi
llBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndO
fDurationValue, SVGElement*) = 0; |
71 virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to,
SVGElement*) = 0; | 71 virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to,
SVGElement*) = 0; |
72 | 72 |
73 AnimatedPropertyType type() | 73 AnimatedPropertyType type() const |
74 { | 74 { |
75 return m_type; | 75 return m_type; |
76 } | 76 } |
77 | 77 |
78 SVGPropertyBase* ownerList() const | 78 SVGPropertyBase* ownerList() const |
79 { | 79 { |
80 return m_ownerList; | 80 return m_ownerList; |
81 } | 81 } |
82 | 82 |
83 void setOwnerList(SVGPropertyBase* ownerList) | 83 void setOwnerList(SVGPropertyBase* ownerList) |
(...skipping 19 matching lines...) Expand all Loading... |
103 // Oilpan: the back reference to the owner should be a Member, but this can
create | 103 // Oilpan: the back reference to the owner should be a Member, but this can
create |
104 // cycles when SVG properties meet the off-heap InterpolationValue hierarchy
. | 104 // cycles when SVG properties meet the off-heap InterpolationValue hierarchy
. |
105 // Not tracing it is safe, albeit an undesirable state of affairs. | 105 // Not tracing it is safe, albeit an undesirable state of affairs. |
106 GC_PLUGIN_IGNORE("528275") | 106 GC_PLUGIN_IGNORE("528275") |
107 SVGPropertyBase* m_ownerList; | 107 SVGPropertyBase* m_ownerList; |
108 }; | 108 }; |
109 | 109 |
110 } | 110 } |
111 | 111 |
112 #endif // SVGProperty_h | 112 #endif // SVGProperty_h |
OLD | NEW |