| 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 13 matching lines...) Expand all Loading... |
| 24 #include "core/events/EventSender.h" | 24 #include "core/events/EventSender.h" |
| 25 #include "core/fetch/DocumentResource.h" | 25 #include "core/fetch/DocumentResource.h" |
| 26 #include "core/svg/SVGAnimatedLength.h" | 26 #include "core/svg/SVGAnimatedLength.h" |
| 27 #include "core/svg/SVGGeometryElement.h" | 27 #include "core/svg/SVGGeometryElement.h" |
| 28 #include "core/svg/SVGGraphicsElement.h" | 28 #include "core/svg/SVGGraphicsElement.h" |
| 29 #include "core/svg/SVGURIReference.h" | 29 #include "core/svg/SVGURIReference.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 typedef EventSender<SVGUseElement> SVGUseEventSender; | 34 using SVGUseEventSender = EventSender<SVGUseElement>; |
| 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 | 39 |
| 40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
| 41 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement); | 41 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement); |
| 42 public: | 42 public: |
| 43 static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&); | 43 static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&); |
| 44 ~SVGUseElement() override; | 44 ~SVGUseElement() override; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 bool m_haveFiredLoadEvent; | 114 bool m_haveFiredLoadEvent; |
| 115 bool m_needsShadowTreeRecreation; | 115 bool m_needsShadowTreeRecreation; |
| 116 RefPtrWillBeMember<SVGElement> m_targetElementInstance; | 116 RefPtrWillBeMember<SVGElement> m_targetElementInstance; |
| 117 ResourcePtr<DocumentResource> m_resource; | 117 ResourcePtr<DocumentResource> m_resource; |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace blink | 120 } // namespace blink |
| 121 | 121 |
| 122 #endif // SVGUseElement_h | 122 #endif // SVGUseElement_h |
| OLD | NEW |