| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 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 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 SVGAnimatedLength* x() const { return m_x.get(); } | 49 SVGAnimatedLength* x() const { return m_x.get(); } |
| 50 SVGAnimatedLength* y() const { return m_y.get(); } | 50 SVGAnimatedLength* y() const { return m_y.get(); } |
| 51 SVGAnimatedLength* width() const { return m_width.get(); } | 51 SVGAnimatedLength* width() const { return m_width.get(); } |
| 52 SVGAnimatedLength* height() const { return m_height.get(); } | 52 SVGAnimatedLength* height() const { return m_height.get(); } |
| 53 | 53 |
| 54 virtual void buildPendingResource() override; | 54 virtual void buildPendingResource() override; |
| 55 | 55 |
| 56 virtual void trace(Visitor*) override; | 56 virtual void trace(Visitor*) override; |
| 57 | 57 |
| 58 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 59 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override final; |
| 60 |
| 58 private: | 61 private: |
| 59 explicit SVGUseElement(Document&); | 62 explicit SVGUseElement(Document&); |
| 60 | 63 |
| 61 virtual bool isStructurallyExternal() const override { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } | 64 virtual bool isStructurallyExternal() const override { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } |
| 62 | 65 |
| 63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 66 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 64 virtual void removedFrom(ContainerNode*) override; | 67 virtual void removedFrom(ContainerNode*) override; |
| 65 | 68 |
| 66 bool isSupportedAttribute(const QualifiedName&); | 69 bool isSupportedAttribute(const QualifiedName&); |
| 67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 70 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool m_haveFiredLoadEvent; | 108 bool m_haveFiredLoadEvent; |
| 106 bool m_needsShadowTreeRecreation; | 109 bool m_needsShadowTreeRecreation; |
| 107 RefPtrWillBeMember<SVGElement> m_targetElementInstance; | 110 RefPtrWillBeMember<SVGElement> m_targetElementInstance; |
| 108 ResourcePtr<DocumentResource> m_resource; | 111 ResourcePtr<DocumentResource> m_resource; |
| 109 Timer<SVGElement> m_svgLoadEventTimer; | 112 Timer<SVGElement> m_svgLoadEventTimer; |
| 110 }; | 113 }; |
| 111 | 114 |
| 112 } // namespace blink | 115 } // namespace blink |
| 113 | 116 |
| 114 #endif // SVGUseElement_h | 117 #endif // SVGUseElement_h |
| OLD | NEW |