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. |
11 * | 11 * |
12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
21 */ | 21 */ |
22 | 22 |
23 #ifndef SVGAnimateElement_h | 23 #ifndef SVGAnimateElement_h |
24 #define SVGAnimateElement_h | 24 #define SVGAnimateElement_h |
25 | 25 |
| 26 #include <base/gtest_prod_util.h> |
26 #include "core/CSSPropertyNames.h" | 27 #include "core/CSSPropertyNames.h" |
27 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
28 #include "core/SVGNames.h" | 29 #include "core/SVGNames.h" |
29 #include "core/svg/SVGAnimationElement.h" | 30 #include "core/svg/SVGAnimationElement.h" |
30 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
31 #include <base/gtest_prod_util.h> | |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 // If we have 'inherit' as animation value, we need to grab the value | 35 // If we have 'inherit' as animation value, we need to grab the value |
36 // during the animation since the value can be animated itself. | 36 // during the animation since the value can be animated itself. |
37 enum AnimatedPropertyValueType { RegularPropertyValue, InheritValue }; | 37 enum AnimatedPropertyValueType { RegularPropertyValue, InheritValue }; |
38 | 38 |
39 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement { | 39 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement { |
40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
41 | 41 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 return element.hasTagName(SVGNames::animateTag) || | 135 return element.hasTagName(SVGNames::animateTag) || |
136 element.hasTagName(SVGNames::animateTransformTag) || | 136 element.hasTagName(SVGNames::animateTransformTag) || |
137 element.hasTagName(SVGNames::setTag); | 137 element.hasTagName(SVGNames::setTag); |
138 } | 138 } |
139 | 139 |
140 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); | 140 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); |
141 | 141 |
142 } // namespace blink | 142 } // namespace blink |
143 | 143 |
144 #endif // SVGAnimateElement_h | 144 #endif // SVGAnimateElement_h |
OLD | NEW |