OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void sendSVGLoadEventIfPossible(bool sendParentLoadEvents = false); | 101 void sendSVGLoadEventIfPossible(bool sendParentLoadEvents = false); |
102 void sendSVGLoadEventIfPossibleAsynchronously(); | 102 void sendSVGLoadEventIfPossibleAsynchronously(); |
103 void svgLoadEventTimerFired(Timer<SVGElement>*); | 103 void svgLoadEventTimerFired(Timer<SVGElement>*); |
104 virtual Timer<SVGElement>* svgLoadEventTimer(); | 104 virtual Timer<SVGElement>* svgLoadEventTimer(); |
105 | 105 |
106 virtual AffineTransform* supplementalTransform() { return 0; } | 106 virtual AffineTransform* supplementalTransform() { return 0; } |
107 | 107 |
108 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } | 108 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } |
109 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } | 109 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } |
110 | 110 |
111 const HashSet<SVGElement*>& instancesForElement() const; | 111 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& instancesForEl
ement() const; |
112 | 112 |
113 bool getBoundingBox(FloatRect&); | 113 bool getBoundingBox(FloatRect&); |
114 | 114 |
115 void setCursorElement(SVGCursorElement*); | 115 void setCursorElement(SVGCursorElement*); |
116 void setCursorImageValue(CSSCursorImageValue*); | 116 void setCursorImageValue(CSSCursorImageValue*); |
117 #if !ENABLE(OILPAN) | 117 #if !ENABLE(OILPAN) |
118 void cursorElementRemoved(); | 118 void cursorElementRemoved(); |
119 void cursorImageValueRemoved(); | 119 void cursorImageValueRemoved(); |
120 #endif | 120 #endif |
121 | 121 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 253 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
254 }; | 254 }; |
255 | 255 |
256 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); | 256 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); |
257 | 257 |
258 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } | 258 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } |
259 | 259 |
260 } | 260 } |
261 | 261 |
262 #endif | 262 #endif |
OLD | NEW |