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