| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 StylePropertySet* animatedSMILStyleProperties() const { return m_animatedSMI
LStyleProperties.get(); } |
| 79 StylePropertySet* ensureAnimatedSMILStyleProperties() | 79 StylePropertySet* ensureAnimatedSMILStyleProperties() |
| 80 { | 80 { |
| 81 if (!m_animatedSMILStyleProperties) | 81 if (!m_animatedSMILStyleProperties) |
| 82 m_animatedSMILStyleProperties = StylePropertySet::create(SVGAttribut
eMode); | 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 } |
| 90 | 90 |
| 91 RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyl
e) | 91 RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyl
e) |
| 92 { | 92 { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 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<StylePropertySet> 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 |