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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 SVGSMILElement::Condition::Condition(Type type, BeginOrEnd beginOrEnd, const Str
ing& baseID, const String& name, SMILTime offset, int repeats) | 118 SVGSMILElement::Condition::Condition(Type type, BeginOrEnd beginOrEnd, const Str
ing& baseID, const String& name, SMILTime offset, int repeats) |
119 : m_type(type) | 119 : m_type(type) |
120 , m_beginOrEnd(beginOrEnd) | 120 , m_beginOrEnd(beginOrEnd) |
121 , m_baseID(baseID) | 121 , m_baseID(baseID) |
122 , m_name(name) | 122 , m_name(name) |
123 , m_offset(offset) | 123 , m_offset(offset) |
124 , m_repeats(repeats) | 124 , m_repeats(repeats) |
125 { | 125 { |
126 } | 126 } |
127 | 127 |
128 SVGSMILElement::SVGSMILElement(const QualifiedName& tagName, Document* doc) | 128 SVGSMILElement::SVGSMILElement(const QualifiedName& tagName, Document& doc) |
129 : SVGElement(tagName, doc) | 129 : SVGElement(tagName, doc) |
130 , m_attributeName(anyQName()) | 130 , m_attributeName(anyQName()) |
131 , m_targetElement(0) | 131 , m_targetElement(0) |
132 , m_conditionsConnected(false) | 132 , m_conditionsConnected(false) |
133 , m_hasEndEventConditions(false) | 133 , m_hasEndEventConditions(false) |
134 , m_isWaitingForFirstInterval(true) | 134 , m_isWaitingForFirstInterval(true) |
135 , m_intervalBegin(SMILTime::unresolved()) | 135 , m_intervalBegin(SMILTime::unresolved()) |
136 , m_intervalEnd(SMILTime::unresolved()) | 136 , m_intervalEnd(SMILTime::unresolved()) |
137 , m_previousIntervalBegin(SMILTime::unresolved()) | 137 , m_previousIntervalBegin(SMILTime::unresolved()) |
138 , m_activeState(Inactive) | 138 , m_activeState(Inactive) |
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 } | 1233 } |
1234 | 1234 |
1235 void SVGSMILElement::dispatchPendingEvent(SMILEventSender* eventSender) | 1235 void SVGSMILElement::dispatchPendingEvent(SMILEventSender* eventSender) |
1236 { | 1236 { |
1237 ASSERT(eventSender == &smilEndEventSender() || eventSender == &smilBeginEven
tSender() || eventSender == &smilRepeatEventSender()); | 1237 ASSERT(eventSender == &smilEndEventSender() || eventSender == &smilBeginEven
tSender() || eventSender == &smilRepeatEventSender()); |
1238 const AtomicString& eventType = eventSender->eventType(); | 1238 const AtomicString& eventType = eventSender->eventType(); |
1239 dispatchEvent(Event::create(eventType)); | 1239 dispatchEvent(Event::create(eventType)); |
1240 } | 1240 } |
1241 | 1241 |
1242 } | 1242 } |
OLD | NEW |