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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 PassRefPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const QualifiedNam
e& attributeName); | 95 PassRefPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const QualifiedNam
e& attributeName); |
96 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); | 96 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); |
97 | 97 |
98 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); | 98 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); |
99 bool sendSVGLoadEventIfPossible(); | 99 bool sendSVGLoadEventIfPossible(); |
100 void sendSVGLoadEventIfPossibleAsynchronously(); | 100 void sendSVGLoadEventIfPossibleAsynchronously(); |
101 void svgLoadEventTimerFired(Timer<SVGElement>*); | 101 void svgLoadEventTimerFired(Timer<SVGElement>*); |
102 virtual Timer<SVGElement>* svgLoadEventTimer(); | 102 virtual Timer<SVGElement>* svgLoadEventTimer(); |
103 | 103 |
104 virtual AffineTransform* supplementalTransform() { return 0; } | 104 virtual AffineTransform* animateMotionTransform() { return 0; } |
105 | 105 |
106 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } | 106 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } |
107 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } | 107 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } |
108 | 108 |
109 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& instancesForEl
ement() const; | 109 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& instancesForEl
ement() const; |
110 void mapInstanceToElement(SVGElement*); | 110 void mapInstanceToElement(SVGElement*); |
111 void removeInstanceMapping(SVGElement*); | 111 void removeInstanceMapping(SVGElement*); |
112 | 112 |
113 bool getBoundingBox(FloatRect&); | 113 bool getBoundingBox(FloatRect&); |
114 | 114 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 280 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
281 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 281 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
282 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 282 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
283 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 283 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
284 | 284 |
285 } // namespace blink | 285 } // namespace blink |
286 | 286 |
287 #include "core/SVGElementTypeHelpers.h" | 287 #include "core/SVGElementTypeHelpers.h" |
288 | 288 |
289 #endif // SVGElement_h | 289 #endif // SVGElement_h |
OLD | NEW |