| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 , m_useOverrideComputedStyle(false) | 47 , m_useOverrideComputedStyle(false) |
| 48 , m_needsOverrideComputedStyleUpdate(false) | 48 , m_needsOverrideComputedStyleUpdate(false) |
| 49 { | 49 { |
| 50 } | 50 } |
| 51 | 51 |
| 52 SVGElementSet& outgoingReferences() { return m_outgoingReferences; } | 52 SVGElementSet& outgoingReferences() { return m_outgoingReferences; } |
| 53 const SVGElementSet& outgoingReferences() const { return m_outgoingReference
s; } | 53 const SVGElementSet& outgoingReferences() const { return m_outgoingReference
s; } |
| 54 SVGElementSet& incomingReferences() { return m_incomingReferences; } | 54 SVGElementSet& incomingReferences() { return m_incomingReferences; } |
| 55 const SVGElementSet& incomingReferences() const { return m_incomingReference
s; } | 55 const SVGElementSet& incomingReferences() const { return m_incomingReference
s; } |
| 56 | 56 |
| 57 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() {
return m_elementInstances; } | 57 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& elementInstances() {
return m_elementInstances; } |
| 58 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstanc
es() const { return m_elementInstances; } | 58 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& elementInstance
s() const { return m_elementInstances; } |
| 59 | 59 |
| 60 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; } | 60 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; } |
| 61 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val
ue; } | 61 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val
ue; } |
| 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() { 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 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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<LayoutStyle> 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 |