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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const
QualifiedName& attributeName); | 98 PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const
QualifiedName& attributeName); |
99 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); | 99 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); |
100 | 100 |
101 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); | 101 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); |
102 bool sendSVGLoadEventIfPossible(); | 102 bool sendSVGLoadEventIfPossible(); |
103 void sendSVGLoadEventIfPossibleAsynchronously(); | 103 void sendSVGLoadEventIfPossibleAsynchronously(); |
104 void svgLoadEventTimerFired(Timer<SVGElement>*); | 104 void svgLoadEventTimerFired(Timer<SVGElement>*); |
105 virtual Timer<SVGElement>* svgLoadEventTimer(); | 105 virtual Timer<SVGElement>* svgLoadEventTimer(); |
106 | 106 |
107 virtual AffineTransform* animateMotionTransform() { return 0; } | 107 virtual AffineTransform* animateMotionTransform() { return nullptr; } |
108 | 108 |
109 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } | 109 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } |
110 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } | 110 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } |
111 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe
t*, CSSPropertyID, SVGLength&); | 111 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe
t*, CSSPropertyID, SVGLength&); |
112 | 112 |
113 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; | 113 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; |
114 void mapInstanceToElement(SVGElement*); | 114 void mapInstanceToElement(SVGElement*); |
115 void removeInstanceMapping(SVGElement*); | 115 void removeInstanceMapping(SVGElement*); |
116 | 116 |
117 bool getBoundingBox(FloatRect&); | 117 bool getBoundingBox(FloatRect&); |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ | 282 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ |
283 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ | 283 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ |
284 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 284 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
285 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 285 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
286 | 286 |
287 } // namespace blink | 287 } // namespace blink |
288 | 288 |
289 #include "core/SVGElementTypeHelpers.h" | 289 #include "core/SVGElementTypeHelpers.h" |
290 | 290 |
291 #endif // SVGElement_h | 291 #endif // SVGElement_h |
OLD | NEW |