| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 inline bool hasSVGRareData() const { return m_SVGRareData; } | 218 inline bool hasSVGRareData() const { return m_SVGRareData; } |
| 219 inline SVGElementRareData* svgRareData() const | 219 inline SVGElementRareData* svgRareData() const |
| 220 { | 220 { |
| 221 ASSERT(m_SVGRareData); | 221 ASSERT(m_SVGRareData); |
| 222 return m_SVGRareData.get(); | 222 return m_SVGRareData.get(); |
| 223 } | 223 } |
| 224 | 224 |
| 225 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError. | 225 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError. |
| 226 friend class SVGFitToViewBox; | 226 friend class SVGFitToViewBox; |
| 227 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); | 227 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); |
| 228 bool hasFocusEventListeners() const; | |
| 229 | 228 |
| 230 private: | 229 private: |
| 231 bool isSVGElement() const = delete; // This will catch anyone doing an unnec
essary check. | 230 bool isSVGElement() const = delete; // This will catch anyone doing an unnec
essary check. |
| 232 bool isStyledElement() const = delete; // This will catch anyone doing an un
necessary check. | 231 bool isStyledElement() const = delete; // This will catch anyone doing an un
necessary check. |
| 233 | 232 |
| 234 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 233 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
| 235 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) override final { return computedStyle(pseudoElementSpecifier); } | 234 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) override final { return computedStyle(pseudoElementSpecifier); } |
| 236 virtual void willRecalcStyle(StyleRecalcChange) override; | 235 virtual void willRecalcStyle(StyleRecalcChange) override; |
| 237 | 236 |
| 238 void buildPendingResourcesIfNeeded(); | 237 void buildPendingResourcesIfNeeded(); |
| (...skipping 43 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()); } \ | 281 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()); } \ | 282 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); } \ | 283 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
| 285 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 284 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 286 | 285 |
| 287 } // namespace blink | 286 } // namespace blink |
| 288 | 287 |
| 289 #include "core/SVGElementTypeHelpers.h" | 288 #include "core/SVGElementTypeHelpers.h" |
| 290 | 289 |
| 291 #endif // SVGElement_h | 290 #endif // SVGElement_h |
| OLD | NEW |