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, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009, 2014 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual AffineTransform* animateMotionTransform() { return nullptr; } | 106 virtual AffineTransform* animateMotionTransform() { return nullptr; } |
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 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe
t*, CSSPropertyID, SVGLength&); | 110 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe
t*, CSSPropertyID, SVGLength&); |
111 | 111 |
112 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; | 112 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; |
113 void mapInstanceToElement(SVGElement*); | 113 void mapInstanceToElement(SVGElement*); |
114 void removeInstanceMapping(SVGElement*); | 114 void removeInstanceMapping(SVGElement*); |
115 | 115 |
116 bool getBoundingBox(FloatRect&); | |
117 | |
118 void setCursorElement(SVGCursorElement*); | 116 void setCursorElement(SVGCursorElement*); |
119 void setCursorImageValue(CSSCursorImageValue*); | 117 void setCursorImageValue(CSSCursorImageValue*); |
120 | 118 |
121 #if !ENABLE(OILPAN) | 119 #if !ENABLE(OILPAN) |
122 void cursorElementRemoved(); | 120 void cursorElementRemoved(); |
123 void cursorImageValueRemoved(); | 121 void cursorImageValueRemoved(); |
124 #endif | 122 #endif |
125 | 123 |
126 SVGElement* correspondingElement(); | 124 SVGElement* correspondingElement(); |
127 void setCorrespondingElement(SVGElement*); | 125 void setCorrespondingElement(SVGElement*); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ | 276 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ |
279 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ | 277 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ |
280 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 278 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
281 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 279 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
282 | 280 |
283 } // namespace blink | 281 } // namespace blink |
284 | 282 |
285 #include "core/SVGElementTypeHelpers.h" | 283 #include "core/SVGElementTypeHelpers.h" |
286 | 284 |
287 #endif // SVGElement_h | 285 #endif // SVGElement_h |
OLD | NEW |