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

Unified Diff: Source/WebCore/svg/animation/SVGSMILElement.h

Issue 11229037: Merge 129670 - Refactor SMILTimeContainer to maintain animation information instead of recalculatin… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/svg/animation/SMILTimeContainer.cpp ('k') | Source/WebCore/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/svg/animation/SVGSMILElement.h
===================================================================
--- Source/WebCore/svg/animation/SVGSMILElement.h (revision 132107)
+++ Source/WebCore/svg/animation/SVGSMILElement.h (working copy)
@@ -32,7 +32,9 @@
#include <wtf/HashMap.h>
namespace WebCore {
-
+
+enum ResolveTarget { DoNotResolveNewTarget, ResolveNewTarget };
+
class ConditionEventListener;
class SMILTimeContainer;
@@ -51,12 +53,13 @@
virtual void removedFrom(ContainerNode*) OVERRIDE;
virtual bool hasValidAttributeType() = 0;
+ virtual bool hasValidAttributeName();
virtual void animationAttributeChanged() = 0;
SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); }
SVGElement* targetElement();
- void resetTargetElement();
+ void resetTargetElement(ResolveTarget = ResolveNewTarget);
const QualifiedName& attributeName() const { return m_attributeName; }
void beginByLinkActivation();
@@ -138,8 +141,9 @@
void checkRestart(SMILTime elapsed);
void beginListChanged(SMILTime eventTime);
void endListChanged(SMILTime eventTime);
- void reschedule();
+ void setAttributeName(const QualifiedName&);
+
// This represents conditions on elements begin or end list that need to be resolved on runtime
// for example <animate begin="otherElement.begin + 8s; button.click" ... />
struct Condition {
« no previous file with comments | « Source/WebCore/svg/animation/SMILTimeContainer.cpp ('k') | Source/WebCore/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698