| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 protected: | 78 protected: |
| 79 SVGGraphicsElement(const QualifiedName&, | 79 SVGGraphicsElement(const QualifiedName&, |
| 80 Document&, | 80 Document&, |
| 81 ConstructionType = CreateSVGElement); | 81 ConstructionType = CreateSVGElement); |
| 82 | 82 |
| 83 bool supportsFocus() const override { | 83 bool supportsFocus() const override { |
| 84 return Element::supportsFocus() || hasFocusEventListeners(); | 84 return Element::supportsFocus() || hasFocusEventListeners(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 void collectStyleForPresentationAttribute(const QualifiedName&, |
| 88 const AtomicString&, |
| 89 MutableStylePropertySet*) override; |
| 87 void svgAttributeChanged(const QualifiedName&) override; | 90 void svgAttributeChanged(const QualifiedName&) override; |
| 88 | 91 |
| 89 Member<SVGAnimatedTransformList> m_transform; | 92 Member<SVGAnimatedTransformList> m_transform; |
| 90 | 93 |
| 91 private: | 94 private: |
| 92 bool isSVGGraphicsElement() const final { return true; } | 95 bool isSVGGraphicsElement() const final { return true; } |
| 93 }; | 96 }; |
| 94 | 97 |
| 95 inline bool isSVGGraphicsElement(const SVGElement& element) { | 98 inline bool isSVGGraphicsElement(const SVGElement& element) { |
| 96 return element.isSVGGraphicsElement(); | 99 return element.isSVGGraphicsElement(); |
| 97 } | 100 } |
| 98 | 101 |
| 99 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 102 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 100 | 103 |
| 101 } // namespace blink | 104 } // namespace blink |
| 102 | 105 |
| 103 #endif // SVGGraphicsElement_h | 106 #endif // SVGGraphicsElement_h |
| OLD | NEW |