| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
| 27 #include "core/SVGNames.h" | 27 #include "core/SVGNames.h" |
| 28 #include "core/svg/SVGAnimatedTypeAnimator.h" | 28 #include "core/svg/SVGAnimatedTypeAnimator.h" |
| 29 #include "core/svg/SVGAnimationElement.h" | 29 #include "core/svg/SVGAnimationElement.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include <base/gtest_prod_util.h> | 31 #include <base/gtest_prod_util.h> |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class SVGAnimatedTypeAnimator; | 35 // The size of SVGElementInstances is 1 unless there is a <use> instance of the
element. |
| 36 using SVGElementInstances = HeapVector<Member<SVGElement>, 1u>; |
| 36 | 37 |
| 37 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement { | 38 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement { |
| 38 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
| 39 public: | 40 public: |
| 40 static SVGAnimateElement* create(Document&); | 41 static SVGAnimateElement* create(Document&); |
| 41 ~SVGAnimateElement() override; | 42 ~SVGAnimateElement() override; |
| 42 | 43 |
| 43 DECLARE_VIRTUAL_TRACE(); | 44 DECLARE_VIRTUAL_TRACE(); |
| 44 | 45 |
| 45 bool isSVGAnimationAttributeSettingJavaScriptURL(const Attribute&) const ove
rride; | 46 bool isSVGAnimationAttributeSettingJavaScriptURL(const Attribute&) const ove
rride; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 return element.hasTagName(SVGNames::animateTag) | 87 return element.hasTagName(SVGNames::animateTag) |
| 87 || element.hasTagName(SVGNames::animateTransformTag) | 88 || element.hasTagName(SVGNames::animateTransformTag) |
| 88 || element.hasTagName(SVGNames::setTag); | 89 || element.hasTagName(SVGNames::setTag); |
| 89 } | 90 } |
| 90 | 91 |
| 91 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); | 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); |
| 92 | 93 |
| 93 } // namespace blink | 94 } // namespace blink |
| 94 | 95 |
| 95 #endif // SVGAnimateElement_h | 96 #endif // SVGAnimateElement_h |
| OLD | NEW |