| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, Inc. |
| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, | 72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, |
| 73 const SVGGraphicsElement* ancestor = 0) const; | 73 const SVGGraphicsElement* ancestor = 0) const; |
| 74 | 74 |
| 75 DECLARE_VIRTUAL_TRACE(); | 75 DECLARE_VIRTUAL_TRACE(); |
| 76 | 76 |
| 77 protected: | 77 protected: |
| 78 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat
eSVGElement); | 78 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat
eSVGElement); |
| 79 | 79 |
| 80 virtual bool supportsFocus() const override { return Element::supportsFocus(
) || hasFocusEventListeners(); } | 80 virtual bool supportsFocus() const override { return Element::supportsFocus(
) || hasFocusEventListeners(); } |
| 81 | 81 |
| 82 bool isSupportedAttribute(const QualifiedName&); | |
| 83 virtual void svgAttributeChanged(const QualifiedName&) override; | 82 virtual void svgAttributeChanged(const QualifiedName&) override; |
| 84 | 83 |
| 85 RefPtrWillBeMember<SVGAnimatedTransformList> m_transform; | 84 RefPtrWillBeMember<SVGAnimatedTransformList> m_transform; |
| 86 | 85 |
| 87 private: | 86 private: |
| 88 virtual bool isSVGGraphicsElement() const override final { return true; } | 87 virtual bool isSVGGraphicsElement() const override final { return true; } |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 inline bool isSVGGraphicsElement(const SVGElement& element) | 90 inline bool isSVGGraphicsElement(const SVGElement& element) |
| 92 { | 91 { |
| 93 return element.isSVGGraphicsElement(); | 92 return element.isSVGGraphicsElement(); |
| 94 } | 93 } |
| 95 | 94 |
| 96 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 95 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 97 | 96 |
| 98 } // namespace blink | 97 } // namespace blink |
| 99 | 98 |
| 100 #endif // SVGGraphicsElement_h | 99 #endif // SVGGraphicsElement_h |
| OLD | NEW |