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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 RenderObject* rendererClipChild() const; | 49 RenderObject* rendererClipChild() const; |
50 | 50 |
51 SVGAnimatedLength* x() const { return m_x.get(); } | 51 SVGAnimatedLength* x() const { return m_x.get(); } |
52 SVGAnimatedLength* y() const { return m_y.get(); } | 52 SVGAnimatedLength* y() const { return m_y.get(); } |
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 private: | 56 private: |
57 SVGUseElement(Document&, bool wasInsertedByParser); | 57 SVGUseElement(Document&, bool wasInsertedByParser); |
58 | 58 |
59 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); } | |
60 virtual bool isStructurallyExternal() const OVERRIDE { return isExternalURIR
eference(hrefCurrentValue(), document()); } | 59 virtual bool isStructurallyExternal() const OVERRIDE { return isExternalURIR
eference(hrefCurrentValue(), document()); } |
61 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | 60 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } |
62 | 61 |
63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 62 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
64 virtual void removedFrom(ContainerNode*) OVERRIDE; | 63 virtual void removedFrom(ContainerNode*) OVERRIDE; |
65 virtual void buildPendingResource() OVERRIDE; | 64 virtual void buildPendingResource() OVERRIDE; |
66 | 65 |
67 bool isSupportedAttribute(const QualifiedName&); | 66 bool isSupportedAttribute(const QualifiedName&); |
68 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
69 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 68 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 RefPtr<SVGElementInstance> m_targetElementInstance; | 122 RefPtr<SVGElementInstance> m_targetElementInstance; |
124 ResourcePtr<DocumentResource> m_resource; | 123 ResourcePtr<DocumentResource> m_resource; |
125 Timer<SVGElement> m_svgLoadEventTimer; | 124 Timer<SVGElement> m_svgLoadEventTimer; |
126 }; | 125 }; |
127 | 126 |
128 DEFINE_NODE_TYPE_CASTS(SVGUseElement, hasTagName(SVGNames::useTag)); | 127 DEFINE_NODE_TYPE_CASTS(SVGUseElement, hasTagName(SVGNames::useTag)); |
129 | 128 |
130 } | 129 } |
131 | 130 |
132 #endif | 131 #endif |
OLD | NEW |