Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: Source/core/svg/animation/SVGSMILElement.h

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool isFrozen() const; 104 bool isFrozen() const;
105 105
106 unsigned documentOrderIndex() const { return m_documentOrderIndex; } 106 unsigned documentOrderIndex() const { return m_documentOrderIndex; }
107 void setDocumentOrderIndex(unsigned index) { m_documentOrderIndex = index; } 107 void setDocumentOrderIndex(unsigned index) { m_documentOrderIndex = index; }
108 108
109 virtual bool isAdditive() const = 0; 109 virtual bool isAdditive() const = 0;
110 virtual void resetAnimatedType() = 0; 110 virtual void resetAnimatedType() = 0;
111 virtual void clearAnimatedType(SVGElement* targetElement) = 0; 111 virtual void clearAnimatedType(SVGElement* targetElement) = 0;
112 virtual void applyResultsToTarget() = 0; 112 virtual void applyResultsToTarget() = 0;
113 113
114 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi sitor); }
115
114 protected: 116 protected:
115 void addBeginTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin:: Origin = SMILTimeWithOrigin::ParserOrigin); 117 void addBeginTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin:: Origin = SMILTimeWithOrigin::ParserOrigin);
116 void addEndTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Or igin = SMILTimeWithOrigin::ParserOrigin); 118 void addEndTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Or igin = SMILTimeWithOrigin::ParserOrigin);
117 119
118 void setInactive() { m_activeState = Inactive; } 120 void setInactive() { m_activeState = Inactive; }
119 121
120 // Sub-classes may need to take action when the target is changed. 122 // Sub-classes may need to take action when the target is changed.
121 virtual void setTargetElement(SVGElement*); 123 virtual void setTargetElement(SVGElement*);
122 virtual void setAttributeName(const QualifiedName&); 124 virtual void setAttributeName(const QualifiedName&);
123 125
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 mutable SMILTime m_cachedMin; 234 mutable SMILTime m_cachedMin;
233 mutable SMILTime m_cachedMax; 235 mutable SMILTime m_cachedMax;
234 236
235 friend class ConditionEventListener; 237 friend class ConditionEventListener;
236 }; 238 };
237 239
238 } 240 }
239 241
240 #endif // ENABLE(SVG) 242 #endif // ENABLE(SVG)
241 #endif // SVGSMILElement_h 243 #endif // SVGSMILElement_h
OLDNEW
« Source/core/svg/SVGElement.h ('K') | « Source/core/svg/SVGViewElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698