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 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 3 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 private: | 144 private: |
145 friend class SVGUseElement; | 145 friend class SVGUseElement; |
146 friend class TreeShared<SVGElementInstance>; | 146 friend class TreeShared<SVGElementInstance>; |
147 | 147 |
148 SVGElementInstance(SVGUseElement*, SVGUseElement*, PassRefPtr<SVGElement> or
iginalElement); | 148 SVGElementInstance(SVGUseElement*, SVGUseElement*, PassRefPtr<SVGElement> or
iginalElement); |
149 | 149 |
150 void removedLastRef(); | 150 void removedLastRef(); |
151 bool hasTreeSharedParent() const { return !!m_parentInstance; } | 151 bool hasTreeSharedParent() const { return !!m_parentInstance; } |
152 | 152 |
153 virtual Node* toNode(); | 153 virtual Node* toNode() OVERRIDE; |
154 | 154 |
155 void appendChild(PassRefPtr<SVGElementInstance> child); | 155 void appendChild(PassRefPtr<SVGElementInstance> child); |
156 void setShadowTreeElement(SVGElement*); | 156 void setShadowTreeElement(SVGElement*); |
157 | 157 |
158 template<class GenericNode, class GenericNodeContainer> | 158 template<class GenericNode, class GenericNodeContainer> |
159 friend void appendChildToContainer(GenericNode& child, GenericNodeContainer&
); | 159 friend void appendChildToContainer(GenericNode& child, GenericNodeContainer&
); |
160 | 160 |
161 template<class GenericNode, class GenericNodeContainer> | 161 template<class GenericNode, class GenericNodeContainer> |
162 friend void removeDetachedChildrenInContainer(GenericNodeContainer&); | 162 friend void removeDetachedChildrenInContainer(GenericNodeContainer&); |
163 | 163 |
(...skipping 21 matching lines...) Expand all Loading... |
185 SVGElementInstance* m_previousSibling; | 185 SVGElementInstance* m_previousSibling; |
186 SVGElementInstance* m_nextSibling; | 186 SVGElementInstance* m_nextSibling; |
187 | 187 |
188 SVGElementInstance* m_firstChild; | 188 SVGElementInstance* m_firstChild; |
189 SVGElementInstance* m_lastChild; | 189 SVGElementInstance* m_lastChild; |
190 }; | 190 }; |
191 | 191 |
192 } // namespace WebCore | 192 } // namespace WebCore |
193 | 193 |
194 #endif | 194 #endif |
OLD | NEW |