| 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 19 matching lines...) Expand all Loading... |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class DocumentResource; | 34 class DocumentResource; |
| 35 | 35 |
| 36 class SVGUseElement final : public SVGGraphicsElement, | 36 class SVGUseElement final : public SVGGraphicsElement, |
| 37 public SVGURIReference, | 37 public SVGURIReference, |
| 38 public DocumentResourceClient { | 38 public DocumentResourceClient { |
| 39 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
| 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement); | 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN_NESTED(SVGUseElement, SVGGraphicsEleme
nt); |
| 41 public: | 41 public: |
| 42 static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&); | 42 static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&); |
| 43 virtual ~SVGUseElement(); | 43 virtual ~SVGUseElement(); |
| 44 | 44 |
| 45 void invalidateShadowTree(); | 45 void invalidateShadowTree(); |
| 46 | 46 |
| 47 LayoutObject* rendererClipChild() const; | 47 LayoutObject* rendererClipChild() const; |
| 48 | 48 |
| 49 SVGAnimatedLength* x() const { return m_x.get(); } | 49 SVGAnimatedLength* x() const { return m_x.get(); } |
| 50 SVGAnimatedLength* y() const { return m_y.get(); } | 50 SVGAnimatedLength* y() const { return m_y.get(); } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 bool m_haveFiredLoadEvent; | 109 bool m_haveFiredLoadEvent; |
| 110 bool m_needsShadowTreeRecreation; | 110 bool m_needsShadowTreeRecreation; |
| 111 RefPtrWillBeMember<SVGElement> m_targetElementInstance; | 111 RefPtrWillBeMember<SVGElement> m_targetElementInstance; |
| 112 ResourcePtr<DocumentResource> m_resource; | 112 ResourcePtr<DocumentResource> m_resource; |
| 113 Timer<SVGElement> m_svgLoadEventTimer; | 113 Timer<SVGElement> m_svgLoadEventTimer; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace blink | 116 } // namespace blink |
| 117 | 117 |
| 118 #endif // SVGUseElement_h | 118 #endif // SVGUseElement_h |
| OLD | NEW |