| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 SVGElement* correspondingElement() { return m_correspondingElement.get(); } | 66 SVGElement* correspondingElement() { 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 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } | 72 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } |
| 73 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); | 73 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); |
| 74 | 74 |
| 75 LayoutStyle* overrideComputedStyle(Element*, LayoutStyle*); | 75 ComputedStyle* overrideComputedStyle(Element*, ComputedStyle*); |
| 76 | 76 |
| 77 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } | 77 bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; } |
| 78 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } | 78 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } |
| 79 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } | 79 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } |
| 80 | 80 |
| 81 AffineTransform* animateMotionTransform(); | 81 AffineTransform* animateMotionTransform(); |
| 82 | 82 |
| 83 DECLARE_TRACE(); | 83 DECLARE_TRACE(); |
| 84 void processWeakMembers(Visitor*); | 84 void processWeakMembers(Visitor*); |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 #if ENABLE(OILPAN) | 87 #if ENABLE(OILPAN) |
| 88 Member<SVGElement> m_owner; | 88 Member<SVGElement> m_owner; |
| 89 #endif | 89 #endif |
| 90 SVGElementSet m_outgoingReferences; | 90 SVGElementSet m_outgoingReferences; |
| 91 SVGElementSet m_incomingReferences; | 91 SVGElementSet m_incomingReferences; |
| 92 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>> m_elementInstances; | 92 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>> m_elementInstances; |
| 93 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; | 93 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; |
| 94 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; | 94 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; |
| 95 RefPtrWillBeMember<SVGElement> m_correspondingElement; | 95 RefPtrWillBeMember<SVGElement> m_correspondingElement; |
| 96 bool m_instancesUpdatesBlocked : 1; | 96 bool m_instancesUpdatesBlocked : 1; |
| 97 bool m_useOverrideComputedStyle : 1; | 97 bool m_useOverrideComputedStyle : 1; |
| 98 bool m_needsOverrideComputedStyleUpdate : 1; | 98 bool m_needsOverrideComputedStyleUpdate : 1; |
| 99 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; | 99 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; |
| 100 RefPtr<LayoutStyle> m_overrideComputedStyle; | 100 RefPtr<ComputedStyle> m_overrideComputedStyle; |
| 101 // Used by <animateMotion> | 101 // Used by <animateMotion> |
| 102 OwnPtr<AffineTransform> m_animateMotionTransform; | 102 OwnPtr<AffineTransform> m_animateMotionTransform; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } | 105 } |
| 106 | 106 |
| 107 #endif | 107 #endif |
| OLD | NEW |