| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 void buildPendingResource() override; | 56 void buildPendingResource() override; |
| 57 | 57 |
| 58 void dispatchPendingEvent(SVGUseEventSender*); | 58 void dispatchPendingEvent(SVGUseEventSender*); |
| 59 void toClipPath(Path&) const; | 59 void toClipPath(Path&) const; |
| 60 | 60 |
| 61 DECLARE_VIRTUAL_TRACE(); | 61 DECLARE_VIRTUAL_TRACE(); |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 explicit SVGUseElement(Document&); | 64 explicit SVGUseElement(Document&); |
| 65 | 65 |
| 66 FloatRect getBBox() override; |
| 67 |
| 66 bool isPresentationAttribute(const QualifiedName&) const override; | 68 bool isPresentationAttribute(const QualifiedName&) const override; |
| 67 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; | 69 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
| 68 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; | 70 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; |
| 69 | 71 |
| 70 bool isStructurallyExternal() const override { return !hrefString().isNull()
&& isExternalURIReference(hrefString(), document()); } | 72 bool isStructurallyExternal() const override { return !hrefString().isNull()
&& isExternalURIReference(hrefString(), document()); } |
| 71 | 73 |
| 72 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 74 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 73 void removedFrom(ContainerNode*) override; | 75 void removedFrom(ContainerNode*) override; |
| 74 | 76 |
| 75 void svgAttributeChanged(const QualifiedName&) override; | 77 void svgAttributeChanged(const QualifiedName&) override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 111 |
| 110 bool m_haveFiredLoadEvent; | 112 bool m_haveFiredLoadEvent; |
| 111 bool m_needsShadowTreeRecreation; | 113 bool m_needsShadowTreeRecreation; |
| 112 RefPtrWillBeMember<SVGElement> m_targetElementInstance; | 114 RefPtrWillBeMember<SVGElement> m_targetElementInstance; |
| 113 ResourcePtr<DocumentResource> m_resource; | 115 ResourcePtr<DocumentResource> m_resource; |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace blink | 118 } // namespace blink |
| 117 | 119 |
| 118 #endif // SVGUseElement_h | 120 #endif // SVGUseElement_h |
| OLD | NEW |