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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 protected: | 193 protected: |
194 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem
ent); | 194 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem
ent); |
195 | 195 |
196 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; | 196 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; |
197 | 197 |
198 void attributeChanged(const QualifiedName&, const AtomicString&, const Atomi
cString&, AttributeModificationReason = ModifiedDirectly) override; | 198 void attributeChanged(const QualifiedName&, const AtomicString&, const Atomi
cString&, AttributeModificationReason = ModifiedDirectly) override; |
199 | 199 |
200 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; | 200 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
201 | 201 |
202 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 202 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
203 void removedFrom(ContainerNode*) override; | 203 void removedFrom(ContainerNode* insertionPoint, Node* next) override; |
204 void childrenChanged(const ChildrenChange&) override; | 204 void childrenChanged(const ChildrenChange&) override; |
205 | 205 |
206 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); | 206 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); |
207 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } | 207 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } |
208 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); | 208 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); |
209 static void markForLayoutAndParentResourceInvalidation(LayoutObject*); | 209 static void markForLayoutAndParentResourceInvalidation(LayoutObject*); |
210 | 210 |
211 virtual bool selfHasRelativeLengths() const { return false; } | 211 virtual bool selfHasRelativeLengths() const { return false; } |
212 | 212 |
213 SVGElementRareData* ensureSVGRareData(); | 213 SVGElementRareData* ensureSVGRareData(); |
(...skipping 68 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 |