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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const
QualifiedName& attributeName); | 103 PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> propertyFromAttribute(const
QualifiedName& attributeName); |
104 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); | 104 static AnimatedPropertyType animatedPropertyTypeForCSSAttribute(const Qualif
iedName& attributeName); |
105 | 105 |
106 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); | 106 void sendSVGLoadEventToSelfAndAncestorChainIfPossible(); |
107 bool sendSVGLoadEventIfPossible(); | 107 bool sendSVGLoadEventIfPossible(); |
108 | 108 |
109 virtual AffineTransform* animateMotionTransform() { return nullptr; } | 109 virtual AffineTransform* animateMotionTransform() { return nullptr; } |
110 | 110 |
111 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } | 111 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr
ibutesAreDirty = true; } |
112 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } | 112 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m
_presentationAttributeStyleIsDirty = true; } |
113 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe
t*, CSSPropertyID, SVGLength&); | |
114 | 113 |
115 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; | 114 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle
ment() const; |
116 void mapInstanceToElement(SVGElement*); | 115 void mapInstanceToElement(SVGElement*); |
117 void removeInstanceMapping(SVGElement*); | 116 void removeInstanceMapping(SVGElement*); |
118 | 117 |
119 void setCursorElement(SVGCursorElement*); | 118 void setCursorElement(SVGCursorElement*); |
120 void setCursorImageValue(CSSCursorImageValue*); | 119 void setCursorImageValue(CSSCursorImageValue*); |
121 | 120 |
122 #if !ENABLE(OILPAN) | 121 #if !ENABLE(OILPAN) |
123 void cursorElementRemoved(); | 122 void cursorElementRemoved(); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ | 278 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ |
280 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ | 279 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ |
281 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 280 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
282 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 281 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
283 | 282 |
284 } // namespace blink | 283 } // namespace blink |
285 | 284 |
286 #include "core/SVGElementTypeHelpers.h" | 285 #include "core/SVGElementTypeHelpers.h" |
287 | 286 |
288 #endif // SVGElement_h | 287 #endif // SVGElement_h |
OLD | NEW |