diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h | 40 |
1 files changed, 3 insertions, 37 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h b/chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h index f77be4fd515..46cf3ade719 100644 --- a/chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h +++ b/chromium/third_party/WebKit/Source/core/svg/properties/SVGPropertyInfo.h @@ -20,19 +20,8 @@ #ifndef SVGPropertyInfo_h #define SVGPropertyInfo_h -#include "core/dom/QualifiedName.h" -#include "wtf/PassRefPtr.h" - namespace WebCore { -class SVGAnimatedProperty; -class SVGElement; - -enum AnimatedPropertyState { - PropertyIsReadWrite, - PropertyIsReadOnly -}; - enum AnimatedPropertyType { AnimatedAngle, AnimatedBoolean, @@ -46,40 +35,17 @@ enum AnimatedPropertyType { AnimatedNumberList, AnimatedNumberOptionalNumber, AnimatedPath, + AnimatedPoint, AnimatedPoints, AnimatedPreserveAspectRatio, AnimatedRect, AnimatedString, + AnimatedStringList, + AnimatedTransform, AnimatedTransformList, AnimatedUnknown }; -struct SVGPropertyInfo { - WTF_MAKE_FAST_ALLOCATED; -public: - typedef void (*SynchronizeProperty)(SVGElement*); - typedef PassRefPtr<SVGAnimatedProperty> (*LookupOrCreateWrapperForAnimatedProperty)(SVGElement*); - - SVGPropertyInfo(AnimatedPropertyType newType, AnimatedPropertyState newState, const QualifiedName& newAttributeName, - const AtomicString& newPropertyIdentifier, SynchronizeProperty newSynchronizeProperty, - LookupOrCreateWrapperForAnimatedProperty newLookupOrCreateWrapperForAnimatedProperty) - : animatedPropertyType(newType) - , animatedPropertyState(newState) - , attributeName(newAttributeName) - , propertyIdentifier(newPropertyIdentifier) - , synchronizeProperty(newSynchronizeProperty) - , lookupOrCreateWrapperForAnimatedProperty(newLookupOrCreateWrapperForAnimatedProperty) - { - } - - AnimatedPropertyType animatedPropertyType; - AnimatedPropertyState animatedPropertyState; - const QualifiedName& attributeName; - const AtomicString& propertyIdentifier; - SynchronizeProperty synchronizeProperty; - LookupOrCreateWrapperForAnimatedProperty lookupOrCreateWrapperForAnimatedProperty; -}; - } #endif // SVGPropertyInfo_h |