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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 SVGAnimatedLength* width() const { return m_width.get(); } | 53 SVGAnimatedLength* width() const { return m_width.get(); } |
54 SVGAnimatedLength* height() const { return m_height.get(); } | 54 SVGAnimatedLength* height() const { return m_height.get(); } |
55 | 55 |
56 virtual void buildPendingResource() OVERRIDE; | 56 virtual void buildPendingResource() OVERRIDE; |
57 | 57 |
58 private: | 58 private: |
59 SVGUseElement(Document&, bool wasInsertedByParser); | 59 SVGUseElement(Document&, bool wasInsertedByParser); |
60 | 60 |
61 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } | 61 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString().
isNull() && isExternalURIReference(hrefString(), document()); } |
62 | 62 |
63 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | |
64 | |
65 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
66 virtual void removedFrom(ContainerNode*) OVERRIDE; | 64 virtual void removedFrom(ContainerNode*) OVERRIDE; |
67 | 65 |
68 bool isSupportedAttribute(const QualifiedName&); | 66 bool isSupportedAttribute(const QualifiedName&); |
69 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
70 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 68 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
71 | 69 |
72 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 70 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
73 virtual void toClipPath(Path&) OVERRIDE; | 71 virtual void toClipPath(Path&) OVERRIDE; |
74 | 72 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool m_haveFiredLoadEvent; | 115 bool m_haveFiredLoadEvent; |
118 bool m_needsShadowTreeRecreation; | 116 bool m_needsShadowTreeRecreation; |
119 RefPtr<SVGElementInstance> m_targetElementInstance; | 117 RefPtr<SVGElementInstance> m_targetElementInstance; |
120 ResourcePtr<DocumentResource> m_resource; | 118 ResourcePtr<DocumentResource> m_resource; |
121 Timer<SVGElement> m_svgLoadEventTimer; | 119 Timer<SVGElement> m_svgLoadEventTimer; |
122 }; | 120 }; |
123 | 121 |
124 } | 122 } |
125 | 123 |
126 #endif | 124 #endif |
OLD | NEW |