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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 bool resolveNextInterval(); | 174 bool resolveNextInterval(); |
175 SMILTime resolveActiveEnd(SMILTime resolvedBegin, SMILTime resolvedEnd) const; | 175 SMILTime resolveActiveEnd(SMILTime resolvedBegin, SMILTime resolvedEnd) const; |
176 SMILTime repeatingDuration() const; | 176 SMILTime repeatingDuration() const; |
177 | 177 |
178 enum RestartedInterval { DidNotRestartInterval, DidRestartInterval }; | 178 enum RestartedInterval { DidNotRestartInterval, DidRestartInterval }; |
179 | 179 |
180 RestartedInterval maybeRestartInterval(SMILTime elapsed); | 180 RestartedInterval maybeRestartInterval(SMILTime elapsed); |
181 void beginListChanged(SMILTime eventTime); | 181 void beginListChanged(SMILTime eventTime); |
182 void endListChanged(SMILTime eventTime); | 182 void endListChanged(SMILTime eventTime); |
183 | 183 |
184 // This represents conditions on elements begin or end list that need to be re
solved on runtime | 184 // This represents conditions on elements begin or end list that need to be |
185 // for example <animate begin="otherElement.begin + 8s; button.click" ... /> | 185 // resolved on runtime, for example |
| 186 // <animate begin="otherElement.begin + 8s; button.click" ... /> |
186 class Condition : public GarbageCollectedFinalized<Condition> { | 187 class Condition : public GarbageCollectedFinalized<Condition> { |
187 public: | 188 public: |
188 enum Type { EventBase, Syncbase, AccessKey }; | 189 enum Type { EventBase, Syncbase, AccessKey }; |
189 | 190 |
190 Condition(Type, | 191 Condition(Type, |
191 BeginOrEnd, | 192 BeginOrEnd, |
192 const String& baseID, | 193 const String& baseID, |
193 const String& name, | 194 const String& name, |
194 SMILTime offset, | 195 SMILTime offset, |
195 int repeat = -1); | 196 int repeat = -1); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 element.hasTagName(SVGNames::animateMotionTag) || | 301 element.hasTagName(SVGNames::animateMotionTag) || |
301 element.hasTagName(SVGNames::animateTransformTag) || | 302 element.hasTagName(SVGNames::animateTransformTag) || |
302 element.hasTagName((SVGNames::discardTag)); | 303 element.hasTagName((SVGNames::discardTag)); |
303 } | 304 } |
304 | 305 |
305 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 306 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
306 | 307 |
307 } // namespace blink | 308 } // namespace blink |
308 | 309 |
309 #endif // SVGSMILElement_h | 310 #endif // SVGSMILElement_h |
OLD | NEW |