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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 virtual void setAttributeName(const QualifiedName&); | 120 virtual void setAttributeName(const QualifiedName&); |
121 | 121 |
122 private: | 122 private: |
123 void buildPendingResource(); | 123 void buildPendingResource(); |
124 void clearResourceReferences(); | 124 void clearResourceReferences(); |
125 | 125 |
126 virtual void startedActiveInterval() = 0; | 126 virtual void startedActiveInterval() = 0; |
127 void endedActiveInterval(); | 127 void endedActiveInterval(); |
128 virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement*
resultElement) = 0; | 128 virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement*
resultElement) = 0; |
129 | 129 |
| 130 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE { return
false; } |
| 131 |
130 enum BeginOrEnd { | 132 enum BeginOrEnd { |
131 Begin, | 133 Begin, |
132 End | 134 End |
133 }; | 135 }; |
134 | 136 |
135 SMILTime findInstanceTime(BeginOrEnd, SMILTime minimumTime, bool equalsMinim
umOK) const; | 137 SMILTime findInstanceTime(BeginOrEnd, SMILTime minimumTime, bool equalsMinim
umOK) const; |
136 void resolveFirstInterval(); | 138 void resolveFirstInterval(); |
137 void resolveNextInterval(bool notifyDependents); | 139 void resolveNextInterval(bool notifyDependents); |
138 void resolveInterval(bool first, SMILTime& beginResult, SMILTime& endResult)
const; | 140 void resolveInterval(bool first, SMILTime& beginResult, SMILTime& endResult)
const; |
139 SMILTime resolveActiveEnd(SMILTime resolvedBegin, SMILTime resolvedEnd) cons
t; | 141 SMILTime resolveActiveEnd(SMILTime resolvedBegin, SMILTime resolvedEnd) cons
t; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 237 |
236 inline SVGSMILElement* toSVGSMILElement(Element* element) | 238 inline SVGSMILElement* toSVGSMILElement(Element* element) |
237 { | 239 { |
238 ASSERT_WITH_SECURITY_IMPLICATION(!element || SVGSMILElement::isSMILElement(e
lement)); | 240 ASSERT_WITH_SECURITY_IMPLICATION(!element || SVGSMILElement::isSMILElement(e
lement)); |
239 return static_cast<SVGSMILElement*>(element); | 241 return static_cast<SVGSMILElement*>(element); |
240 } | 242 } |
241 | 243 |
242 } | 244 } |
243 | 245 |
244 #endif // SVGSMILElement_h | 246 #endif // SVGSMILElement_h |
OLD | NEW |