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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 void mapInstanceToElement(SVGElement*); | 141 void mapInstanceToElement(SVGElement*); |
142 void removeInstanceMapping(SVGElement*); | 142 void removeInstanceMapping(SVGElement*); |
143 | 143 |
144 SVGElement* correspondingElement() const; | 144 SVGElement* correspondingElement() const; |
145 void setCorrespondingElement(SVGElement*); | 145 void setCorrespondingElement(SVGElement*); |
146 SVGUseElement* correspondingUseElement() const; | 146 SVGUseElement* correspondingUseElement() const; |
147 | 147 |
148 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; | 148 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; |
149 | 149 |
150 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final; | 150 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final; |
| 151 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
151 | 152 |
152 #if DCHECK_IS_ON() | 153 #if DCHECK_IS_ON() |
153 virtual bool isAnimatableAttribute(const QualifiedName&) const; | 154 virtual bool isAnimatableAttribute(const QualifiedName&) const; |
154 #endif | 155 #endif |
155 | 156 |
156 MutableStylePropertySet* animatedSMILStyleProperties() const; | 157 MutableStylePropertySet* animatedSMILStyleProperties() const; |
157 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); | 158 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); |
158 void setUseOverrideComputedStyle(bool); | 159 void setUseOverrideComputedStyle(bool); |
159 | 160 |
160 virtual bool haveLoadedRequiredResources(); | 161 virtual bool haveLoadedRequiredResources(); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ | 335 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ |
335 return is##thisType(element); \ | 336 return is##thisType(element); \ |
336 } \ | 337 } \ |
337 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 338 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
338 | 339 |
339 } // namespace blink | 340 } // namespace blink |
340 | 341 |
341 #include "core/SVGElementTypeHelpers.h" | 342 #include "core/SVGElementTypeHelpers.h" |
342 | 343 |
343 #endif // SVGElement_h | 344 #endif // SVGElement_h |
OLD | NEW |