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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 SVGCursorElement* cursorElement() const { return m_cursorElement; } | 69 SVGCursorElement* cursorElement() const { return m_cursorElement; } |
70 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } | 70 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c
ursorElement; } |
71 | 71 |
72 SVGElement* correspondingElement() { return m_correspondingElement; } | 72 SVGElement* correspondingElement() { return m_correspondingElement; } |
73 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon
dingElement = correspondingElement; } | 73 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon
dingElement = correspondingElement; } |
74 | 74 |
75 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; } | 75 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; } |
76 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm
ageValue = cursorImageValue; } | 76 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm
ageValue = cursorImageValue; } |
77 | 77 |
78 StylePropertySet* animatedSMILStyleProperties() const { return m_animatedSMI
LStyleProperties.get(); } | 78 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim
atedSMILStyleProperties.get(); } |
79 StylePropertySet* ensureAnimatedSMILStyleProperties() | 79 MutableStylePropertySet* ensureAnimatedSMILStyleProperties() |
80 { | 80 { |
81 if (!m_animatedSMILStyleProperties) | 81 if (!m_animatedSMILStyleProperties) |
82 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGA
ttributeMode); | 82 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGA
ttributeMode); |
83 return m_animatedSMILStyleProperties.get(); | 83 return m_animatedSMILStyleProperties.get(); |
84 } | 84 } |
85 | 85 |
86 void destroyAnimatedSMILStyleProperties() | 86 void destroyAnimatedSMILStyleProperties() |
87 { | 87 { |
88 m_animatedSMILStyleProperties.clear(); | 88 m_animatedSMILStyleProperties.clear(); |
89 } | 89 } |
(...skipping 17 matching lines...) Expand all Loading... |
107 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } | 107 void setNeedsOverrideComputedStyleUpdate() { m_needsOverrideComputedStyleUpd
ate = true; } |
108 | 108 |
109 private: | 109 private: |
110 HashSet<SVGElementInstance*> m_elementInstances; | 110 HashSet<SVGElementInstance*> m_elementInstances; |
111 SVGCursorElement* m_cursorElement; | 111 SVGCursorElement* m_cursorElement; |
112 CSSCursorImageValue* m_cursorImageValue; | 112 CSSCursorImageValue* m_cursorImageValue; |
113 SVGElement* m_correspondingElement; | 113 SVGElement* m_correspondingElement; |
114 bool m_instancesUpdatesBlocked : 1; | 114 bool m_instancesUpdatesBlocked : 1; |
115 bool m_useOverrideComputedStyle : 1; | 115 bool m_useOverrideComputedStyle : 1; |
116 bool m_needsOverrideComputedStyleUpdate : 1; | 116 bool m_needsOverrideComputedStyleUpdate : 1; |
117 RefPtr<StylePropertySet> m_animatedSMILStyleProperties; | 117 RefPtr<MutableStylePropertySet> m_animatedSMILStyleProperties; |
118 RefPtr<RenderStyle> m_overrideComputedStyle; | 118 RefPtr<RenderStyle> m_overrideComputedStyle; |
119 }; | 119 }; |
120 | 120 |
121 } | 121 } |
122 | 122 |
123 #endif | 123 #endif |
OLD | NEW |