| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 SVGCursorElement* cursorElement() const { return m_cursorElement; } | 63 SVGCursorElement* cursorElement() const { return m_cursorElement; } |
| 64 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } | 64 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } |
| 65 | 65 |
| 66 SVGElement* correspondingElement() const { return m_correspondingElement.get
(); } | 66 SVGElement* correspondingElement() const { return m_correspondingElement.get
(); } |
| 67 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon
dingElement = correspondingElement; } | 67 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon
dingElement = correspondingElement; } |
| 68 | 68 |
| 69 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; } | 69 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; } |
| 70 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm
ageValue = cursorImageValue; } | 70 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm
ageValue = cursorImageValue; } |
| 71 | 71 |
| 72 HashSet<const QualifiedName*>& webAnimatedAttributes() { return m_webAnimate
dAttributes; } |
| 73 |
| 72 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } | 74 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } |
| 73 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); | 75 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); |
| 74 | 76 |
| 75 ComputedStyle* overrideComputedStyle(Element*, const ComputedStyle*); | 77 ComputedStyle* overrideComputedStyle(Element*, const ComputedStyle*); |
| 76 | 78 |
| 77 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } | 79 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } |
| 78 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } | 80 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } |
| 79 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } | 81 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } |
| 80 | 82 |
| 81 AffineTransform* animateMotionTransform(); | 83 AffineTransform* animateMotionTransform(); |
| 82 | 84 |
| 83 DECLARE_TRACE(); | 85 DECLARE_TRACE(); |
| 84 void processWeakMembers(Visitor*); | 86 void processWeakMembers(Visitor*); |
| 85 | 87 |
| 86 private: | 88 private: |
| 87 #if ENABLE(OILPAN) | 89 #if ENABLE(OILPAN) |
| 88 Member<SVGElement> m_owner; | 90 Member<SVGElement> m_owner; |
| 89 #endif | 91 #endif |
| 90 SVGElementSet m_outgoingReferences; | 92 SVGElementSet m_outgoingReferences; |
| 91 SVGElementSet m_incomingReferences; | 93 SVGElementSet m_incomingReferences; |
| 92 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>> m_elementInstances; | 94 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>> m_elementInstances; |
| 93 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; | 95 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; |
| 94 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; | 96 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; |
| 95 RefPtrWillBeMember<SVGElement> m_correspondingElement; | 97 RefPtrWillBeMember<SVGElement> m_correspondingElement; |
| 96 bool m_instancesUpdatesBlocked : 1; | 98 bool m_instancesUpdatesBlocked : 1; |
| 97 bool m_useOverrideComputedStyle : 1; | 99 bool m_useOverrideComputedStyle : 1; |
| 98 bool m_needsOverrideComputedStyleUpdate : 1; | 100 bool m_needsOverrideComputedStyleUpdate : 1; |
| 101 HashSet<const QualifiedName*> m_webAnimatedAttributes; |
| 99 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; | 102 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; |
| 100 RefPtr<ComputedStyle> m_overrideComputedStyle; | 103 RefPtr<ComputedStyle> m_overrideComputedStyle; |
| 101 // Used by <animateMotion> | 104 // Used by <animateMotion> |
| 102 OwnPtr<AffineTransform> m_animateMotionTransform; | 105 OwnPtr<AffineTransform> m_animateMotionTransform; |
| 103 }; | 106 }; |
| 104 | 107 |
| 105 } | 108 } |
| 106 | 109 |
| 107 #endif | 110 #endif |
| OLD | NEW |