OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } | 71 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } |
72 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); | 72 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); |
73 | 73 |
74 RenderStyle* overrideComputedStyle(Element*, RenderStyle*); | 74 RenderStyle* overrideComputedStyle(Element*, RenderStyle*); |
75 | 75 |
76 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } | 76 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } |
77 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } | 77 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } |
78 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } | 78 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } |
79 | 79 |
| 80 AffineTransform* animateMotionTransform(); |
| 81 |
80 void trace(Visitor*); | 82 void trace(Visitor*); |
81 void processWeakMembers(Visitor*); | 83 void processWeakMembers(Visitor*); |
82 | 84 |
83 private: | 85 private: |
84 #if ENABLE(OILPAN) | 86 #if ENABLE(OILPAN) |
85 Member<SVGElement> m_owner; | 87 Member<SVGElement> m_owner; |
86 #endif | 88 #endif |
87 SVGElementSet m_outgoingReferences; | 89 SVGElementSet m_outgoingReferences; |
88 SVGElementSet m_incomingReferences; | 90 SVGElementSet m_incomingReferences; |
89 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances; | 91 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances; |
90 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; | 92 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; |
91 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; | 93 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; |
92 RefPtrWillBeMember<SVGElement> m_correspondingElement; | 94 RefPtrWillBeMember<SVGElement> m_correspondingElement; |
93 bool m_instancesUpdatesBlocked : 1; | 95 bool m_instancesUpdatesBlocked : 1; |
94 bool m_useOverrideComputedStyle : 1; | 96 bool m_useOverrideComputedStyle : 1; |
95 bool m_needsOverrideComputedStyleUpdate : 1; | 97 bool m_needsOverrideComputedStyleUpdate : 1; |
96 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; | 98 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; |
97 RefPtr<RenderStyle> m_overrideComputedStyle; | 99 RefPtr<RenderStyle> m_overrideComputedStyle; |
| 100 // Used by <animateMotion> |
| 101 OwnPtr<AffineTransform> m_animateMotionTransform; |
98 }; | 102 }; |
99 | 103 |
100 } | 104 } |
101 | 105 |
102 #endif | 106 #endif |
OLD | NEW |