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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 61 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
62 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 62 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; | 63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; |
64 | 64 |
65 virtual bool isStructurallyExternal() const override { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } | 65 virtual bool isStructurallyExternal() const override { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } |
66 | 66 |
67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
68 virtual void removedFrom(ContainerNode*) override; | 68 virtual void removedFrom(ContainerNode*) override; |
69 | 69 |
70 bool isSupportedAttribute(const QualifiedName&); | |
71 virtual void svgAttributeChanged(const QualifiedName&) override; | 70 virtual void svgAttributeChanged(const QualifiedName&) override; |
72 | 71 |
73 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 72 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
74 virtual void toClipPath(Path&) override; | 73 virtual void toClipPath(Path&) override; |
75 | 74 |
76 void clearResourceReferences(); | 75 void clearResourceReferences(); |
77 void buildShadowAndInstanceTree(SVGElement* target); | 76 void buildShadowAndInstanceTree(SVGElement* target); |
78 | 77 |
79 void scheduleShadowTreeRecreation(); | 78 void scheduleShadowTreeRecreation(); |
80 virtual bool haveLoadedRequiredResources() override { return !isStructurally
External() || m_haveFiredLoadEvent; } | 79 virtual bool haveLoadedRequiredResources() override { return !isStructurally
External() || m_haveFiredLoadEvent; } |
(...skipping 27 matching lines...) Expand all Loading... |
108 bool m_haveFiredLoadEvent; | 107 bool m_haveFiredLoadEvent; |
109 bool m_needsShadowTreeRecreation; | 108 bool m_needsShadowTreeRecreation; |
110 RefPtrWillBeMember<SVGElement> m_targetElementInstance; | 109 RefPtrWillBeMember<SVGElement> m_targetElementInstance; |
111 ResourcePtr<DocumentResource> m_resource; | 110 ResourcePtr<DocumentResource> m_resource; |
112 Timer<SVGElement> m_svgLoadEventTimer; | 111 Timer<SVGElement> m_svgLoadEventTimer; |
113 }; | 112 }; |
114 | 113 |
115 } // namespace blink | 114 } // namespace blink |
116 | 115 |
117 #endif // SVGUseElement_h | 116 #endif // SVGUseElement_h |
OLD | NEW |