| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef SVGSMILElement_h | 26 #ifndef SVGSMILElement_h |
| 27 #define SVGSMILElement_h | 27 #define SVGSMILElement_h |
| 28 | 28 |
| 29 #include "core/svg/SVGElement.h" | 29 #include "core/svg/SVGElement.h" |
| 30 #include "core/svg/animation/SMILTime.h" | 30 #include "core/svg/animation/SMILTime.h" |
| 31 | 31 #include "wtf/HashMap.h" |
| 32 #include <wtf/HashMap.h> | |
| 33 | 32 |
| 34 namespace WebCore { | 33 namespace WebCore { |
| 35 | 34 |
| 36 class ConditionEventListener; | 35 class ConditionEventListener; |
| 37 class SMILTimeContainer; | 36 class SMILTimeContainer; |
| 38 | 37 |
| 39 // This class implements SMIL interval timing model as needed for SVG animation. | 38 // This class implements SMIL interval timing model as needed for SVG animation. |
| 40 class SVGSMILElement : public SVGElement { | 39 class SVGSMILElement : public SVGElement { |
| 41 public: | 40 public: |
| 42 SVGSMILElement(const QualifiedName&, Document*); | 41 SVGSMILElement(const QualifiedName&, Document*); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 235 |
| 237 inline SVGSMILElement* toSVGSMILElement(Element* element) | 236 inline SVGSMILElement* toSVGSMILElement(Element* element) |
| 238 { | 237 { |
| 239 ASSERT_WITH_SECURITY_IMPLICATION(!element || SVGSMILElement::isSMILElement(e
lement)); | 238 ASSERT_WITH_SECURITY_IMPLICATION(!element || SVGSMILElement::isSMILElement(e
lement)); |
| 240 return static_cast<SVGSMILElement*>(element); | 239 return static_cast<SVGSMILElement*>(element); |
| 241 } | 240 } |
| 242 | 241 |
| 243 } | 242 } |
| 244 | 243 |
| 245 #endif // SVGSMILElement_h | 244 #endif // SVGSMILElement_h |
| OLD | NEW |