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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 : m_cursorElement(nullptr) | 43 : m_cursorElement(nullptr) |
44 #endif | 44 #endif |
45 , m_cursorImageValue(nullptr) | 45 , m_cursorImageValue(nullptr) |
46 , m_correspondingElement(nullptr) | 46 , m_correspondingElement(nullptr) |
47 , m_instancesUpdatesBlocked(false) | 47 , m_instancesUpdatesBlocked(false) |
48 , m_useOverrideComputedStyle(false) | 48 , m_useOverrideComputedStyle(false) |
49 , m_needsOverrideComputedStyleUpdate(false) | 49 , m_needsOverrideComputedStyleUpdate(false) |
50 { | 50 { |
51 } | 51 } |
52 | 52 |
53 WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencingElements() {
return m_referencingElements; } | 53 SVGElementSet& outgoingReferences() { return m_outgoingReferences; } |
54 const WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencingElement
s() const { return m_referencingElements; } | 54 const SVGElementSet& outgoingReferences() const { return m_outgoingReference
s; } |
55 WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencedElements() { r
eturn m_referencedElements; } | 55 SVGElementSet& incomingReferences() { return m_incomingReferences; } |
56 const WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencedElements
() const { return m_referencedElements; } | 56 const SVGElementSet& incomingReferences() const { return m_incomingReference
s; } |
57 | 57 |
58 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() {
return m_elementInstances; } | 58 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() {
return m_elementInstances; } |
59 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstanc
es() const { return m_elementInstances; } | 59 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstanc
es() const { return m_elementInstances; } |
60 | 60 |
61 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; } | 61 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; } |
62 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val
ue; } | 62 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val
ue; } |
63 | 63 |
64 SVGCursorElement* cursorElement() const { return m_cursorElement; } | 64 SVGCursorElement* cursorElement() const { return m_cursorElement; } |
65 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } | 65 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } |
66 | 66 |
(...skipping 12 matching lines...) Expand all Loading... |
79 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } | 79 void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle =
value; } |
80 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } | 80 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } |
81 | 81 |
82 void trace(Visitor*); | 82 void trace(Visitor*); |
83 void processWeakMembers(Visitor*); | 83 void processWeakMembers(Visitor*); |
84 | 84 |
85 private: | 85 private: |
86 #if ENABLE(OILPAN) | 86 #if ENABLE(OILPAN) |
87 Member<SVGElement> m_owner; | 87 Member<SVGElement> m_owner; |
88 #endif | 88 #endif |
89 WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > m_referencingElements; | 89 SVGElementSet m_outgoingReferences; |
90 WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > m_referencedElements; | 90 SVGElementSet m_incomingReferences; |
91 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances; | 91 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances; |
92 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; | 92 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; |
93 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; | 93 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; |
94 RefPtrWillBeMember<SVGElement> m_correspondingElement; | 94 RefPtrWillBeMember<SVGElement> m_correspondingElement; |
95 bool m_instancesUpdatesBlocked : 1; | 95 bool m_instancesUpdatesBlocked : 1; |
96 bool m_useOverrideComputedStyle : 1; | 96 bool m_useOverrideComputedStyle : 1; |
97 bool m_needsOverrideComputedStyleUpdate : 1; | 97 bool m_needsOverrideComputedStyleUpdate : 1; |
98 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; | 98 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; |
99 RefPtr<RenderStyle> m_overrideComputedStyle; | 99 RefPtr<RenderStyle> m_overrideComputedStyle; |
100 }; | 100 }; |
101 | 101 |
102 } | 102 } |
103 | 103 |
104 #endif | 104 #endif |
OLD | NEW |