OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture); | 51 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture); |
52 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture); | 52 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture); |
53 virtual void removeAllEventListeners(); | 53 virtual void removeAllEventListeners(); |
54 using EventTarget::dispatchEvent; | 54 using EventTarget::dispatchEvent; |
55 virtual bool dispatchEvent(PassRefPtr<Event>); | 55 virtual bool dispatchEvent(PassRefPtr<Event>); |
56 | 56 |
57 SVGElement* correspondingElement() const { return m_element.get(); } | 57 SVGElement* correspondingElement() const { return m_element.get(); } |
58 SVGUseElement* correspondingUseElement() const { return m_useElement; } | 58 SVGUseElement* correspondingUseElement() const { return m_useElement; } |
59 SVGElement* shadowTreeElement() const { return m_shadowTreeElement.get()
; } | 59 SVGElement* shadowTreeElement() const { return m_shadowTreeElement.get()
; } |
| 60 void clearUseElement() { m_useElement = 0; } |
60 | 61 |
61 SVGElementInstance* parentNode() const { return parent(); } | 62 SVGElementInstance* parentNode() const { return parent(); } |
62 PassRefPtr<SVGElementInstanceList> childNodes(); | 63 PassRefPtr<SVGElementInstanceList> childNodes(); |
63 | 64 |
64 SVGElementInstance* previousSibling() const { return m_previousSibling;
} | 65 SVGElementInstance* previousSibling() const { return m_previousSibling;
} |
65 SVGElementInstance* nextSibling() const { return m_nextSibling; } | 66 SVGElementInstance* nextSibling() const { return m_nextSibling; } |
66 | 67 |
67 SVGElementInstance* firstChild() const { return m_firstChild; } | 68 SVGElementInstance* firstChild() const { return m_firstChild; } |
68 SVGElementInstance* lastChild() const { return m_lastChild; } | 69 SVGElementInstance* lastChild() const { return m_lastChild; } |
69 | 70 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 SVGElementInstance* m_nextSibling; | 158 SVGElementInstance* m_nextSibling; |
158 | 159 |
159 SVGElementInstance* m_firstChild; | 160 SVGElementInstance* m_firstChild; |
160 SVGElementInstance* m_lastChild; | 161 SVGElementInstance* m_lastChild; |
161 }; | 162 }; |
162 | 163 |
163 } // namespace WebCore | 164 } // namespace WebCore |
164 | 165 |
165 #endif // ENABLE(SVG) | 166 #endif // ENABLE(SVG) |
166 #endif | 167 #endif |
OLD | NEW |