| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "core/svg/animation/SVGSMILElement.h" | 27 #include "core/svg/animation/SVGSMILElement.h" |
| 28 | 28 |
| 29 #include "SVGNames.h" | 29 #include "SVGNames.h" |
| 30 #include "XLinkNames.h" | 30 #include "XLinkNames.h" |
| 31 #include "bindings/v8/ExceptionStatePlaceholder.h" | 31 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
| 33 #include "core/events/EventListener.h" | 33 #include "core/events/EventListener.h" |
| 34 #include "core/events/EventSender.h" | 34 #include "core/events/EventSender.h" |
| 35 #include "core/platform/FloatConversion.h" | |
| 36 #include "core/svg/SVGDocumentExtensions.h" | 35 #include "core/svg/SVGDocumentExtensions.h" |
| 37 #include "core/svg/SVGSVGElement.h" | 36 #include "core/svg/SVGSVGElement.h" |
| 38 #include "core/svg/SVGURIReference.h" | 37 #include "core/svg/SVGURIReference.h" |
| 39 #include "core/svg/animation/SMILTimeContainer.h" | 38 #include "core/svg/animation/SMILTimeContainer.h" |
| 39 #include "platform/FloatConversion.h" |
| 40 #include "wtf/MathExtras.h" | 40 #include "wtf/MathExtras.h" |
| 41 #include "wtf/StdLibExtras.h" | 41 #include "wtf/StdLibExtras.h" |
| 42 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
| 43 | 43 |
| 44 using namespace std; | 44 using namespace std; |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace WebCore { |
| 47 | 47 |
| 48 class RepeatEvent : public Event { | 48 class RepeatEvent : public Event { |
| 49 public: | 49 public: |
| (...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1284 if (eventType == "repeatn") { | 1284 if (eventType == "repeatn") { |
| 1285 unsigned repeatEventCount = m_repeatEventCountList.first(); | 1285 unsigned repeatEventCount = m_repeatEventCountList.first(); |
| 1286 m_repeatEventCountList.remove(0); | 1286 m_repeatEventCountList.remove(0); |
| 1287 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); | 1287 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); |
| 1288 } else { | 1288 } else { |
| 1289 dispatchEvent(Event::create(eventType)); | 1289 dispatchEvent(Event::create(eventType)); |
| 1290 } | 1290 } |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 } | 1293 } |
| OLD | NEW |