Changeset 70135 in webkit
- Timestamp:
- Oct 20, 2010 1:32:32 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 12 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70132 r70135 1 2010-10-20 Nikolas Zimmermann <nzimmermann@rim.com> 2 3 Reviewed by Adam Roben. 4 5 Rename SVGAnimatedProperty* -> DeprecatedSVGAnimatedProperty* 6 https://bugs.webkit.org/show_bug.cgi?id=47973 7 8 Prepare fixing bug 47905, redesigning SVGAnimatedProperty. As we're going to move type by type 9 to the new animated property concept, keep the old one around, marked deprecated, until the 10 transition is finished. 11 12 * GNUmakefile.am: 13 * WebCore.gypi: 14 * WebCore.pro: 15 * WebCore.vcproj/WebCore.vcproj: 16 * WebCore.xcodeproj/project.pbxproj: 17 * bindings/scripts/CodeGeneratorObjC.pm: 18 * bindings/scripts/CodeGeneratorV8.pm: 19 * svg/DeprecatedSVGAnimatedProperty.h: Copied from svg/SVGAnimatedProperty.h. 20 (WebCore::DeprecatedSVGAnimatedPropertyTearOff::DeprecatedSVGAnimatedPropertyTearOff): 21 (WebCore::DeprecatedSVGAnimatedPropertyTearOff::~DeprecatedSVGAnimatedPropertyTearOff): 22 (WebCore::DeprecatedSVGAnimatedProperty::~DeprecatedSVGAnimatedProperty): 23 (WebCore::DeprecatedSVGAnimatedProperty::DeprecatedSVGAnimatedProperty): 24 (WebCore::DeprecatedSVGAnimatedProperty::value): 25 (WebCore::DeprecatedSVGAnimatedProperty::baseValue): 26 * svg/DeprecatedSVGAnimatedPropertyTraits.h: Copied from svg/SVGAnimatedPropertyTraits.h. 27 * svg/DeprecatedSVGAnimatedTemplate.h: Copied from svg/SVGAnimatedTemplate.h. 28 (WebCore::DeprecatedSVGAnimatedTypeWrapperKey::DeprecatedSVGAnimatedTypeWrapperKey): 29 (WebCore::DeprecatedSVGAnimatedTypeWrapperKey::operator==): 30 (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHash::hash): 31 (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHash::equal): 32 (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHashTraits::constructDeletedValue): 33 (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHashTraits::isDeletedValue): 34 (WebCore::DeprecatedSVGAnimatedTemplate::~DeprecatedSVGAnimatedTemplate): 35 (WebCore::DeprecatedSVGAnimatedTemplate::forgetWrapper): 36 (WebCore::lookupOrCreateWrapper): 37 * svg/SVGAnimatedProperty.h: Removed. 38 * svg/SVGAnimatedPropertySynchronizer.h: Removed. 39 * svg/SVGAnimatedPropertyTraits.h: Removed. 40 * svg/SVGAnimatedTemplate.h: Removed. 41 * svg/SVGElement.h: 42 * svg/SVGExternalResourcesRequired.h: 43 * svg/SVGFitToViewBox.h: 44 * svg/SVGURIReference.h: 45 * svg/properties: Added. 46 * svg/properties/SVGAnimatedPropertySynchronizer.h: Copied from svg/SVGAnimatedPropertySynchronizer.h. 47 1 48 2010-10-20 Shinichiro Hamaji <hamaji@chromium.org> 2 49 -
trunk/WebCore/GNUmakefile.am
r70095 r70135 2994 2994 WebCore/svg/ColorDistance.cpp \ 2995 2995 WebCore/svg/ColorDistance.h \ 2996 WebCore/svg/DeprecatedSVGAnimatedProperty.h \ 2997 WebCore/svg/DeprecatedSVGAnimatedPropertyTraits.h \ 2998 WebCore/svg/DeprecatedSVGAnimatedTemplate.h \ 2996 2999 WebCore/svg/ElementTimeControl.h \ 2997 3000 WebCore/svg/GradientAttributes.h \ … … 3006 3009 WebCore/svg/LinearGradientAttributes.h \ 3007 3010 WebCore/svg/PatternAttributes.h \ 3011 WebCore/svg/properties/SVGAnimatedPropertySynchronizer.h \ 3008 3012 WebCore/svg/RadialGradientAttributes.h \ 3009 3013 WebCore/svg/SVGAElement.cpp \ … … 3019 3023 WebCore/svg/SVGAnimatedPoints.cpp \ 3020 3024 WebCore/svg/SVGAnimatedPoints.h \ 3021 WebCore/svg/SVGAnimatedProperty.h \3022 WebCore/svg/SVGAnimatedPropertySynchronizer.h \3023 WebCore/svg/SVGAnimatedPropertyTraits.h \3024 WebCore/svg/SVGAnimatedTemplate.h \3025 3025 WebCore/svg/SVGAnimateElement.cpp \ 3026 3026 WebCore/svg/SVGAnimateElement.h \ -
trunk/WebCore/WebCore.gypi
r70095 r70135 3923 3923 'svg/graphics/SVGImage.cpp', 3924 3924 'svg/graphics/SVGImage.h', 3925 'svg/properties/SVGAnimatedPropertySynchronizer.h', 3925 3926 'svg/ColorDistance.cpp', 3926 3927 'svg/ColorDistance.h', 3928 'svg/DeprecatedSVGAnimatedProperty.h', 3929 'svg/DeprecatedSVGAnimatedPropertyTraits.h', 3930 'svg/DeprecatedSVGAnimatedTemplate.h', 3927 3931 'svg/ElementTimeControl.h', 3928 3932 'svg/GradientAttributes.h', … … 3949 3953 'svg/SVGAnimatedPoints.cpp', 3950 3954 'svg/SVGAnimatedPoints.h', 3951 'svg/SVGAnimatedProperty.h',3952 'svg/SVGAnimatedPropertySynchronizer.h',3953 'svg/SVGAnimatedPropertyTraits.h',3954 'svg/SVGAnimatedTemplate.h',3955 3955 'svg/SVGAnimationElement.cpp', 3956 3956 'svg/SVGAnimationElement.h', -
trunk/WebCore/WebCore.pro
r70095 r70135 2336 2336 svg/animation/SVGSMILElement.h \ 2337 2337 svg/ColorDistance.h \ 2338 svg/DeprecatedSVGAnimatedProperty.h \ 2339 svg/DeprecatedSVGAnimatedPropertyTraits.h \ 2340 svg/DeprecatedSVGAnimatedTemplate.h \ 2338 2341 svg/graphics/filters/SVGFEImage.h \ 2339 2342 svg/graphics/filters/SVGFilterBuilder.h \ 2340 2343 svg/graphics/filters/SVGFilter.h \ 2341 2344 svg/graphics/SVGImage.h \ 2345 svg/properties/SVGAnimatedPropertySynchronizer.h \ 2342 2346 svg/SVGAElement.h \ 2343 2347 svg/SVGAltGlyphElement.h \ … … 2346 2350 svg/SVGAnimatedPathData.h \ 2347 2351 svg/SVGAnimatedPoints.h \ 2348 svg/SVGAnimatedProperty.h \2349 svg/SVGAnimatedPropertySynchronizer.h \2350 svg/SVGAnimatedPropertyTraits.h \2351 svg/SVGAnimatedTemplate.h \2352 2352 svg/SVGAnimateElement.h \ 2353 2353 svg/SVGAnimateMotionElement.h \ -
trunk/WebCore/WebCore.vcproj/WebCore.vcproj
r70095 r70135 61152 61152 </File> 61153 61153 <File 61154 RelativePath="..\svg\DeprecatedSVGAnimatedProperty.h" 61155 > 61156 </File> 61157 <File 61158 RelativePath="..\svg\DeprecatedSVGAnimatedPropertyTraits.h" 61159 > 61160 </File> 61161 <File 61162 RelativePath="..\svg\DeprecatedSVGAnimatedTemplate.h" 61163 > 61164 </File> 61165 <File 61154 61166 RelativePath="..\svg\ElementTimeControl.h" 61155 61167 > … … 61181 61193 <File 61182 61194 RelativePath="..\svg\SVGAnimatedPoints.h" 61183 >61184 </File>61185 <File61186 RelativePath="..\svg\SVGAnimatedProperty.h"61187 >61188 </File>61189 <File61190 RelativePath="..\svg\SVGAnimatedPropertySynchronizer.h"61191 >61192 </File>61193 <File61194 RelativePath="..\svg\SVGAnimatedPropertyTraits.h"61195 >61196 </File>61197 <File61198 RelativePath="..\svg\SVGAnimatedTemplate.h"61199 61195 > 61200 61196 </File> … … 62214 62210 </File> 62215 62211 </Filter> 62212 </Filter> 62213 <Filter 62214 Name="properties" 62215 > 62216 <File 62217 RelativePath="..\svg\properties\SVGAnimatedPropertySynchronizer.h" 62218 > 62219 </File> 62216 62220 </Filter> 62217 62221 </Filter> -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r70095 r70135 80 80 0818AEE30EDB86BC00647B66 /* WMLEventHandlingElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 0818AEE10EDB86BC00647B66 /* WMLEventHandlingElement.h */; }; 81 81 081AA8DA1111237E002AB06E /* SVGElementRareData.h in Headers */ = {isa = PBXBuildFile; fileRef = 081AA8D91111237E002AB06E /* SVGElementRareData.h */; }; 82 081CDFB8126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 081CDFB5126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h */; settings = {ATTRIBUTES = (Private, ); }; }; 83 081CDFB9126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 081CDFB6126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h */; settings = {ATTRIBUTES = (Private, ); }; }; 84 081CDFBA126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = 081CDFB7126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h */; settings = {ATTRIBUTES = (Private, ); }; }; 85 081CDFBF126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 081CDFBE126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h */; settings = {ATTRIBUTES = (Private, ); }; }; 82 86 081D81310EE0E74D00D73689 /* WMLTimerElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 081D812F0EE0E74D00D73689 /* WMLTimerElement.cpp */; }; 83 87 081D81320EE0E74D00D73689 /* WMLTimerElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 081D81300EE0E74D00D73689 /* WMLTimerElement.h */; }; … … 109 113 084D0E3E11F5816100081E1A /* SVGResourcesCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 084D0E3A11F5816100081E1A /* SVGResourcesCache.cpp */; }; 110 114 084D0E3F11F5816100081E1A /* SVGResourcesCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 084D0E3B11F5816100081E1A /* SVGResourcesCache.h */; settings = {ATTRIBUTES = (Private, ); }; }; 111 084D2833110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 084D2831110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h */; settings = {ATTRIBUTES = (Private, ); }; };112 084D2834110A7FCB0038239A /* SVGAnimatedPropertyTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 084D2832110A7FCB0038239A /* SVGAnimatedPropertyTraits.h */; settings = {ATTRIBUTES = (Private, ); }; };113 115 084DBAA10ED39D360038C226 /* WMLVariables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 084DBA9D0ED39D350038C226 /* WMLVariables.cpp */; }; 114 116 084DBAA20ED39D360038C226 /* WMLVariables.h in Headers */ = {isa = PBXBuildFile; fileRef = 084DBA9E0ED39D360038C226 /* WMLVariables.h */; }; … … 155 157 08744BAA0EDB7D86004C9E63 /* WMLOnEventElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08744BA90EDB7D86004C9E63 /* WMLOnEventElement.cpp */; }; 156 158 08744BAE0EDB7D92004C9E63 /* WMLOnEventElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 08744BAD0EDB7D92004C9E63 /* WMLOnEventElement.h */; }; 157 0878B1FD10874E3F00A55097 /* SVGAnimatedProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 0878B1F910874E3F00A55097 /* SVGAnimatedProperty.h */; settings = {ATTRIBUTES = (Private, ); }; };158 159 087D97BF10FB8D7700C00874 /* JSSVGPODListCustom.h in Headers */ = {isa = PBXBuildFile; fileRef = 087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */; }; 159 160 087FFA0F0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 087FFA0D0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp */; }; … … 3918 3919 B22279870D00BF220071B782 /* SVGAnimatedPoints.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22277F10D00BF1F0071B782 /* SVGAnimatedPoints.cpp */; }; 3919 3920 B22279880D00BF220071B782 /* SVGAnimatedPoints.h in Headers */ = {isa = PBXBuildFile; fileRef = B22277F20D00BF1F0071B782 /* SVGAnimatedPoints.h */; }; 3920 B222798D0D00BF220071B782 /* SVGAnimatedTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = B22277F70D00BF1F0071B782 /* SVGAnimatedTemplate.h */; settings = {ATTRIBUTES = (Private, ); }; };3921 3921 B222798F0D00BF220071B782 /* SVGAnimateElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */; }; 3922 3922 B22279900D00BF220071B782 /* SVGAnimateElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B22277FA0D00BF1F0071B782 /* SVGAnimateElement.h */; }; … … 6066 6066 0818AEE10EDB86BC00647B66 /* WMLEventHandlingElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLEventHandlingElement.h; sourceTree = "<group>"; }; 6067 6067 081AA8D91111237E002AB06E /* SVGElementRareData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGElementRareData.h; sourceTree = "<group>"; }; 6068 081CDFB5126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeprecatedSVGAnimatedProperty.h; sourceTree = "<group>"; }; 6069 081CDFB6126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeprecatedSVGAnimatedPropertyTraits.h; sourceTree = "<group>"; }; 6070 081CDFB7126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeprecatedSVGAnimatedTemplate.h; sourceTree = "<group>"; }; 6071 081CDFBE126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedPropertySynchronizer.h; sourceTree = "<group>"; }; 6068 6072 081D812F0EE0E74D00D73689 /* WMLTimerElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLTimerElement.cpp; sourceTree = "<group>"; }; 6069 6073 081D81300EE0E74D00D73689 /* WMLTimerElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLTimerElement.h; sourceTree = "<group>"; }; … … 6093 6097 084D0E3A11F5816100081E1A /* SVGResourcesCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGResourcesCache.cpp; sourceTree = "<group>"; }; 6094 6098 084D0E3B11F5816100081E1A /* SVGResourcesCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGResourcesCache.h; sourceTree = "<group>"; }; 6095 084D2831110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedPropertySynchronizer.h; sourceTree = "<group>"; };6096 084D2832110A7FCB0038239A /* SVGAnimatedPropertyTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedPropertyTraits.h; sourceTree = "<group>"; };6097 6099 084DBA9D0ED39D350038C226 /* WMLVariables.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLVariables.cpp; sourceTree = "<group>"; }; 6098 6100 084DBA9E0ED39D360038C226 /* WMLVariables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLVariables.h; sourceTree = "<group>"; }; … … 6139 6141 08744BA90EDB7D86004C9E63 /* WMLOnEventElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLOnEventElement.cpp; sourceTree = "<group>"; }; 6140 6142 08744BAD0EDB7D92004C9E63 /* WMLOnEventElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLOnEventElement.h; sourceTree = "<group>"; }; 6141 0878B1F910874E3F00A55097 /* SVGAnimatedProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedProperty.h; sourceTree = "<group>"; };6142 6143 087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGPODListCustom.h; sourceTree = "<group>"; }; 6143 6144 087FFA0D0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLInsertedLegendElement.cpp; sourceTree = "<group>"; }; … … 9725 9726 B22277F50D00BF1F0071B782 /* SVGAnimatedRect.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGAnimatedRect.idl; sourceTree = "<group>"; }; 9726 9727 B22277F60D00BF1F0071B782 /* SVGAnimatedString.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGAnimatedString.idl; sourceTree = "<group>"; }; 9727 B22277F70D00BF1F0071B782 /* SVGAnimatedTemplate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedTemplate.h; sourceTree = "<group>"; };9728 9728 B22277F80D00BF1F0071B782 /* SVGAnimatedTransformList.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGAnimatedTransformList.idl; sourceTree = "<group>"; }; 9729 9729 B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimateElement.cpp; sourceTree = "<group>"; }; … … 11660 11660 tabWidth = 4; 11661 11661 usesTabs = 0; 11662 }; 11663 081CDFBD126ECFE800D215CA /* properties */ = { 11664 isa = PBXGroup; 11665 children = ( 11666 081CDFBE126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h */, 11667 ); 11668 path = properties; 11669 sourceTree = "<group>"; 11662 11670 }; 11663 11671 0867D691FE84028FC02AAC07 /* WebKit */ = { … … 15869 15877 E46E97860DAAD61B0071E894 /* animation */, 15870 15878 B25598860D00D8B800BB825C /* graphics */, 15879 081CDFBD126ECFE800D215CA /* properties */, 15871 15880 B22277CB0D00BF1F0071B782 /* ColorDistance.cpp */, 15872 15881 B22277CC0D00BF1F0071B782 /* ColorDistance.h */, 15882 081CDFB5126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h */, 15883 081CDFB6126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h */, 15884 081CDFB7126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h */, 15873 15885 E415F1830D9A1A830033CE97 /* ElementTimeControl.h */, 15874 15886 E415F10C0D9A05870033CE97 /* ElementTimeControl.idl */, … … 15904 15916 B22277F30D00BF1F0071B782 /* SVGAnimatedPoints.idl */, 15905 15917 B22277F40D00BF1F0071B782 /* SVGAnimatedPreserveAspectRatio.idl */, 15906 0878B1F910874E3F00A55097 /* SVGAnimatedProperty.h */,15907 084D2831110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h */,15908 084D2832110A7FCB0038239A /* SVGAnimatedPropertyTraits.h */,15909 15918 B22277F50D00BF1F0071B782 /* SVGAnimatedRect.idl */, 15910 15919 B22277F60D00BF1F0071B782 /* SVGAnimatedString.idl */, 15911 B22277F70D00BF1F0071B782 /* SVGAnimatedTemplate.h */,15912 15920 B22277F80D00BF1F0071B782 /* SVGAnimatedTransformList.idl */, 15913 15921 B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */, … … 20672 20680 B22279850D00BF220071B782 /* SVGAnimatedPathData.h in Headers */, 20673 20681 B22279880D00BF220071B782 /* SVGAnimatedPoints.h in Headers */, 20674 0878B1FD10874E3F00A55097 /* SVGAnimatedProperty.h in Headers */,20675 084D2833110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h in Headers */,20676 084D2834110A7FCB0038239A /* SVGAnimatedPropertyTraits.h in Headers */,20677 B222798D0D00BF220071B782 /* SVGAnimatedTemplate.h in Headers */,20678 20682 B22279900D00BF220071B782 /* SVGAnimateElement.h in Headers */, 20679 20683 B22279930D00BF220071B782 /* SVGAnimateMotionElement.h in Headers */, … … 21086 21090 4FA3B90B125CD12200300BAD /* InspectorState.h in Headers */, 21087 21091 9728C3141268E4390041E89B /* MarkupAccumulator.h in Headers */, 21092 081CDFB8126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h in Headers */, 21093 081CDFB9126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h in Headers */, 21094 081CDFBA126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h in Headers */, 21095 081CDFBF126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h in Headers */, 21088 21096 ); 21089 21097 runOnlyForDeploymentPostprocessing = 0; -
trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm
r65021 r70135 589 589 590 590 if ($codeGenerator->IsSVGAnimatedType($type)) { 591 $implIncludes{" SVGAnimatedTemplate.h"} = 1;591 $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1; 592 592 $implIncludes{"DOM${type}Internal.h"} = 1; 593 593 return; … … 984 984 985 985 if ($codeGenerator->IsSVGAnimatedType($interfaceName)) { 986 push(@internalHeaderContent, "#import <WebCore/ SVGAnimatedTemplate.h>\n\n");986 push(@internalHeaderContent, "#import <WebCore/DeprecatedSVGAnimatedTemplate.h>\n\n"); 987 987 } else { 988 988 push(@internalHeaderContent, "namespace WebCore {\n"); … … 1088 1088 1089 1089 if ($codeGenerator->IsSVGAnimatedType($interfaceName)) { 1090 $implIncludes{" SVGAnimatedTemplate.h"} = 1;1090 $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1; 1091 1091 } elsif ($interfaceName =~ /(\w+)(Abs|Rel)$/) { 1092 1092 $implIncludes{"$1.h"} = 1; -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r69370 r70135 188 188 } 189 189 190 $implIncludes{" SVGAnimatedTemplate.h"} = 1;190 $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1; 191 191 } 192 192 … … 451 451 } 452 452 return "" if (AvoidInclusionOfType($className)); 453 return " SVGAnimatedTemplate.h" if ($codeGenerator->IsSVGAnimatedType($className));453 return "DeprecatedSVGAnimatedTemplate.h" if ($codeGenerator->IsSVGAnimatedType($className)); 454 454 return "${className}.h"; 455 455 } -
trunk/WebCore/svg/DeprecatedSVGAnimatedProperty.h
r70057 r70135 19 19 */ 20 20 21 #ifndef SVGAnimatedProperty_h22 #define SVGAnimatedProperty_h21 #ifndef DeprecatedSVGAnimatedProperty_h 22 #define DeprecatedSVGAnimatedProperty_h 23 23 24 24 #if ENABLE(SVG) 25 25 #include "SVGAnimatedPropertySynchronizer.h" 26 #include " SVGAnimatedPropertyTraits.h"27 #include " SVGAnimatedTemplate.h"26 #include "DeprecatedSVGAnimatedPropertyTraits.h" 27 #include "DeprecatedSVGAnimatedTemplate.h" 28 28 29 29 namespace WebCore { 30 30 31 31 template<typename AnimatedType> 32 class SVGAnimatedProperty;32 class DeprecatedSVGAnimatedProperty; 33 33 34 34 template<typename AnimatedType> 35 class SVGAnimatedPropertyTearOff : publicSVGAnimatedTemplate<AnimatedType> {35 class DeprecatedSVGAnimatedPropertyTearOff : public DeprecatedSVGAnimatedTemplate<AnimatedType> { 36 36 public: 37 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::PassType PassType;38 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType;39 40 typedef SVGAnimatedPropertyTearOff<AnimatedType> Self;41 typedef SVGAnimatedProperty<AnimatedType> Creator;37 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType PassType; 38 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType; 39 40 typedef DeprecatedSVGAnimatedPropertyTearOff<AnimatedType> Self; 41 typedef DeprecatedSVGAnimatedProperty<AnimatedType> Creator; 42 42 43 43 static PassRefPtr<Self> create(Creator& creator, SVGElement* contextElement) … … 63 63 64 64 private: 65 SVGAnimatedPropertyTearOff(Creator& creator, SVGElement* contextElement)65 DeprecatedSVGAnimatedPropertyTearOff(Creator& creator, SVGElement* contextElement) 66 66 : m_creator(creator) 67 67 , m_contextElement(contextElement) … … 70 70 } 71 71 72 virtual ~ SVGAnimatedPropertyTearOff()72 virtual ~DeprecatedSVGAnimatedPropertyTearOff() 73 73 { 74 74 m_creator.setShouldSynchronize(false); … … 80 80 81 81 template<typename AnimatedType> 82 class SVGAnimatedProperty {82 class DeprecatedSVGAnimatedProperty { 83 83 public: 84 virtual ~ SVGAnimatedProperty() { }85 86 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::PassType PassType;87 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType;88 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::StoredType StoredType;89 90 SVGAnimatedProperty()91 : m_value( SVGAnimatedPropertyTraits<AnimatedType>::null())84 virtual ~DeprecatedSVGAnimatedProperty() { } 85 86 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType PassType; 87 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType; 88 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::StoredType StoredType; 89 90 DeprecatedSVGAnimatedProperty() 91 : m_value(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::null()) 92 92 , m_shouldSynchronize(false) 93 93 { … … 95 95 96 96 template<typename ConstructorParameterOne> 97 SVGAnimatedProperty(const ConstructorParameterOne& value1)97 DeprecatedSVGAnimatedProperty(const ConstructorParameterOne& value1) 98 98 : m_value(value1) 99 99 , m_shouldSynchronize(false) … … 102 102 103 103 template<typename ConstructorParameterOne, typename ConstructorParameterTwo> 104 SVGAnimatedProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2)104 DeprecatedSVGAnimatedProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2) 105 105 : m_value(value1, value2) 106 106 , m_shouldSynchronize(false) … … 108 108 } 109 109 110 ReturnType value() const { return SVGAnimatedPropertyTraits<AnimatedType>::toReturnType(m_value); }111 ReturnType baseValue() const { return SVGAnimatedPropertyTraits<AnimatedType>::toReturnType(m_value); }110 ReturnType value() const { return DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::toReturnType(m_value); } 111 ReturnType baseValue() const { return DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::toReturnType(m_value); } 112 112 113 113 void setValue(PassType type) { m_value = type; } … … 128 128 // Helper macro used within DECLARE_ANIMATED_PROPERTY below 129 129 #define DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, AnimatedType, UpperProperty) \ 130 class SVGAnimatedProperty##UpperProperty : publicSVGAnimatedProperty<AnimatedType> { \130 class DeprecatedSVGAnimatedProperty##UpperProperty : public DeprecatedSVGAnimatedProperty<AnimatedType> { \ 131 131 public: \ 132 SVGAnimatedProperty##UpperProperty() \133 : SVGAnimatedProperty<AnimatedType>() \132 DeprecatedSVGAnimatedProperty##UpperProperty() \ 133 : DeprecatedSVGAnimatedProperty<AnimatedType>() \ 134 134 { \ 135 135 } \ 136 136 \ 137 137 template<typename ConstructorParameterOne> \ 138 SVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1) \139 : SVGAnimatedProperty<AnimatedType>(value1) \138 DeprecatedSVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1) \ 139 : DeprecatedSVGAnimatedProperty<AnimatedType>(value1) \ 140 140 { \ 141 141 } \ 142 142 \ 143 143 template<typename ConstructorParameterOne, typename ConstructorParameterTwo> \ 144 SVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2) \145 : SVGAnimatedProperty<AnimatedType>(value1, value2) \144 DeprecatedSVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2) \ 145 : DeprecatedSVGAnimatedProperty<AnimatedType>(value1, value2) \ 146 146 { \ 147 147 } \ … … 150 150 { \ 151 151 ASSERT(m_shouldSynchronize); \ 152 AtomicString value( SVGAnimatedPropertyTraits<AnimatedType>::toString(baseValue())); \152 AtomicString value(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::toString(baseValue())); \ 153 153 SVGAnimatedPropertySynchronizer<IsDerivedFromSVGElement<OwnerType>::value>::synchronize(contextElement, DOMAttribute, value); \ 154 154 } \ … … 163 163 #define DECLARE_ANIMATED_PROPERTY_SHARED(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, AnimatedType, UpperProperty, LowerProperty) \ 164 164 private: \ 165 typedef SVGAnimatedPropertyTearOff<AnimatedType>SVGAnimatedPropertyTearOff##UpperProperty; \165 typedef DeprecatedSVGAnimatedPropertyTearOff<AnimatedType> DeprecatedSVGAnimatedPropertyTearOff##UpperProperty; \ 166 166 DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, AnimatedType, UpperProperty); \ 167 SVGAnimatedProperty##UpperProperty m_##LowerProperty; \167 DeprecatedSVGAnimatedProperty##UpperProperty m_##LowerProperty; \ 168 168 \ 169 169 public: \ 170 SVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty() const \170 DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty() const \ 171 171 { \ 172 172 return m_##LowerProperty.value(); \ 173 173 } \ 174 174 \ 175 SVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty##BaseValue() const \175 DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty##BaseValue() const \ 176 176 { \ 177 177 return m_##LowerProperty.baseValue(); \ 178 178 } \ 179 179 \ 180 void set##UpperProperty( SVGAnimatedPropertyTraits<AnimatedType>::PassType type) \180 void set##UpperProperty(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType type) \ 181 181 { \ 182 182 m_##LowerProperty.setValue(type); \ … … 185 185 } \ 186 186 \ 187 void set##UpperProperty##BaseValue( SVGAnimatedPropertyTraits<AnimatedType>::PassType type) \187 void set##UpperProperty##BaseValue(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType type) \ 188 188 { \ 189 189 m_##LowerProperty.setBaseValue(type); \ … … 200 200 } \ 201 201 \ 202 PassRefPtr< SVGAnimatedPropertyTearOff##UpperProperty> LowerProperty##Animated() \203 { \ 204 SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>::value>::ownerElement(this); \ 205 return lookupOrCreateWrapper<AnimatedType, SVGAnimatedPropertyTearOff##UpperProperty>(contextElement, m_##LowerProperty, DOMAttribute); \202 PassRefPtr<DeprecatedSVGAnimatedPropertyTearOff##UpperProperty> LowerProperty##Animated() \ 203 { \ 204 SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>::value>::ownerElement(this); \ 205 return lookupOrCreateWrapper<AnimatedType, DeprecatedSVGAnimatedPropertyTearOff##UpperProperty>(contextElement, m_##LowerProperty, DOMAttribute); \ 206 206 } 207 207 -
trunk/WebCore/svg/DeprecatedSVGAnimatedPropertyTraits.h
r70057 r70135 19 19 */ 20 20 21 #ifndef SVGAnimatedPropertyTraits_h22 #define SVGAnimatedPropertyTraits_h21 #ifndef DeprecatedSVGAnimatedPropertyTraits_h 22 #define DeprecatedSVGAnimatedPropertyTraits_h 23 23 24 24 #if ENABLE(SVG) … … 35 35 36 36 template<typename Type> 37 struct SVGAnimatedPropertyTraits : public Noncopyable { };37 struct DeprecatedSVGAnimatedPropertyTraits : public Noncopyable { }; 38 38 39 39 // SVGAnimatedAngle 40 40 template<> 41 struct SVGAnimatedPropertyTraits<SVGAngle> : public Noncopyable {41 struct DeprecatedSVGAnimatedPropertyTraits<SVGAngle> : public Noncopyable { 42 42 typedef const SVGAngle& PassType; 43 43 typedef SVGAngle ReturnType; … … 51 51 // SVGAnimatedBoolean 52 52 template<> 53 struct SVGAnimatedPropertyTraits<bool> : public Noncopyable {53 struct DeprecatedSVGAnimatedPropertyTraits<bool> : public Noncopyable { 54 54 typedef const bool& PassType; 55 55 typedef bool ReturnType; … … 63 63 // SVGAnimatedEnumeration 64 64 template<> 65 struct SVGAnimatedPropertyTraits<int> : public Noncopyable {65 struct DeprecatedSVGAnimatedPropertyTraits<int> : public Noncopyable { 66 66 typedef const int& PassType; 67 67 typedef int ReturnType; … … 75 75 // SVGAnimatedInteger 76 76 template<> 77 struct SVGAnimatedPropertyTraits<long> : public Noncopyable {77 struct DeprecatedSVGAnimatedPropertyTraits<long> : public Noncopyable { 78 78 typedef const long& PassType; 79 79 typedef long ReturnType; … … 87 87 // SVGAnimatedLength 88 88 template<> 89 struct SVGAnimatedPropertyTraits<SVGLength> : public Noncopyable {89 struct DeprecatedSVGAnimatedPropertyTraits<SVGLength> : public Noncopyable { 90 90 typedef const SVGLength& PassType; 91 91 typedef SVGLength ReturnType; … … 99 99 // SVGAnimatedLengthList 100 100 template<> 101 struct SVGAnimatedPropertyTraits<SVGLengthList*> : public Noncopyable {101 struct DeprecatedSVGAnimatedPropertyTraits<SVGLengthList*> : public Noncopyable { 102 102 typedef SVGLengthList* PassType; 103 103 typedef SVGLengthList* ReturnType; … … 111 111 // SVGAnimatedNumber 112 112 template<> 113 struct SVGAnimatedPropertyTraits<float> : public Noncopyable {113 struct DeprecatedSVGAnimatedPropertyTraits<float> : public Noncopyable { 114 114 typedef const float& PassType; 115 115 typedef float ReturnType; … … 123 123 // SVGAnimatedNumberList 124 124 template<> 125 struct SVGAnimatedPropertyTraits<SVGNumberList*> : public Noncopyable {125 struct DeprecatedSVGAnimatedPropertyTraits<SVGNumberList*> : public Noncopyable { 126 126 typedef SVGNumberList* PassType; 127 127 typedef SVGNumberList* ReturnType; … … 135 135 // SVGAnimatedPreserveAspectRatio 136 136 template<> 137 struct SVGAnimatedPropertyTraits<SVGPreserveAspectRatio> : public Noncopyable {137 struct DeprecatedSVGAnimatedPropertyTraits<SVGPreserveAspectRatio> : public Noncopyable { 138 138 typedef const SVGPreserveAspectRatio& PassType; 139 139 typedef SVGPreserveAspectRatio ReturnType; … … 147 147 // SVGAnimatedRect 148 148 template<> 149 struct SVGAnimatedPropertyTraits<FloatRect> : public Noncopyable {149 struct DeprecatedSVGAnimatedPropertyTraits<FloatRect> : public Noncopyable { 150 150 typedef const FloatRect& PassType; 151 151 typedef FloatRect ReturnType; … … 159 159 // SVGAnimatedString 160 160 template<> 161 struct SVGAnimatedPropertyTraits<String> : public Noncopyable {161 struct DeprecatedSVGAnimatedPropertyTraits<String> : public Noncopyable { 162 162 typedef const String& PassType; 163 163 typedef String ReturnType; … … 171 171 // SVGAnimatedTransformList 172 172 template<> 173 struct SVGAnimatedPropertyTraits<SVGTransformList*> : public Noncopyable {173 struct DeprecatedSVGAnimatedPropertyTraits<SVGTransformList*> : public Noncopyable { 174 174 typedef SVGTransformList* PassType; 175 175 typedef SVGTransformList* ReturnType; -
trunk/WebCore/svg/DeprecatedSVGAnimatedTemplate.h
r70057 r70135 19 19 */ 20 20 21 #ifndef SVGAnimatedTemplate_h22 #define SVGAnimatedTemplate_h21 #ifndef DeprecatedSVGAnimatedTemplate_h 22 #define DeprecatedSVGAnimatedTemplate_h 23 23 24 24 #if ENABLE(SVG) 25 #include " SVGAnimatedPropertyTraits.h"25 #include "DeprecatedSVGAnimatedPropertyTraits.h" 26 26 #include <wtf/Forward.h> 27 27 #include <wtf/HashMap.h> … … 37 37 class QualifiedName; 38 38 39 struct SVGAnimatedTypeWrapperKey {39 struct DeprecatedSVGAnimatedTypeWrapperKey { 40 40 // Empty value 41 SVGAnimatedTypeWrapperKey()41 DeprecatedSVGAnimatedTypeWrapperKey() 42 42 : element(0) 43 43 , attributeName(0) … … 45 45 46 46 // Deleted value 47 SVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValueType)47 DeprecatedSVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValueType) 48 48 : element(reinterpret_cast<SVGElement*>(-1)) 49 49 { … … 55 55 } 56 56 57 SVGAnimatedTypeWrapperKey(const SVGElement* _element, const AtomicString& _attributeName)57 DeprecatedSVGAnimatedTypeWrapperKey(const SVGElement* _element, const AtomicString& _attributeName) 58 58 : element(_element) 59 59 , attributeName(_attributeName.impl()) … … 63 63 } 64 64 65 bool operator==(const SVGAnimatedTypeWrapperKey& other) const65 bool operator==(const DeprecatedSVGAnimatedTypeWrapperKey& other) const 66 66 { 67 67 return element == other.element && attributeName == other.attributeName; … … 72 72 }; 73 73 74 struct SVGAnimatedTypeWrapperKeyHash {75 static unsigned hash(const SVGAnimatedTypeWrapperKey& key)74 struct DeprecatedSVGAnimatedTypeWrapperKeyHash { 75 static unsigned hash(const DeprecatedSVGAnimatedTypeWrapperKey& key) 76 76 { 77 return StringImpl::computeHash(reinterpret_cast<const UChar*>(&key), sizeof( SVGAnimatedTypeWrapperKey) / sizeof(UChar));77 return StringImpl::computeHash(reinterpret_cast<const UChar*>(&key), sizeof(DeprecatedSVGAnimatedTypeWrapperKey) / sizeof(UChar)); 78 78 } 79 79 80 static bool equal(const SVGAnimatedTypeWrapperKey& a, constSVGAnimatedTypeWrapperKey& b)80 static bool equal(const DeprecatedSVGAnimatedTypeWrapperKey& a, const DeprecatedSVGAnimatedTypeWrapperKey& b) 81 81 { 82 82 return a == b; … … 86 86 }; 87 87 88 struct SVGAnimatedTypeWrapperKeyHashTraits : WTF::GenericHashTraits<SVGAnimatedTypeWrapperKey> {88 struct DeprecatedSVGAnimatedTypeWrapperKeyHashTraits : WTF::GenericHashTraits<DeprecatedSVGAnimatedTypeWrapperKey> { 89 89 static const bool emptyValueIsZero = true; 90 90 91 static void constructDeletedValue( SVGAnimatedTypeWrapperKey& slot)91 static void constructDeletedValue(DeprecatedSVGAnimatedTypeWrapperKey& slot) 92 92 { 93 new (&slot) SVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValue);93 new (&slot) DeprecatedSVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValue); 94 94 } 95 95 96 static bool isDeletedValue(const SVGAnimatedTypeWrapperKey& value)96 static bool isDeletedValue(const DeprecatedSVGAnimatedTypeWrapperKey& value) 97 97 { 98 98 return value.isHashTableDeletedValue(); … … 101 101 102 102 template<typename AnimatedType> 103 class SVGAnimatedTemplate : public RefCounted<SVGAnimatedTemplate<AnimatedType> > {103 class DeprecatedSVGAnimatedTemplate : public RefCounted<DeprecatedSVGAnimatedTemplate<AnimatedType> > { 104 104 public: 105 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::PassType PassType;106 typedef typename SVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType;105 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType PassType; 106 typedef typename DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType ReturnType; 107 107 108 virtual ~ SVGAnimatedTemplate() { forgetWrapper(this); }108 virtual ~DeprecatedSVGAnimatedTemplate() { forgetWrapper(this); } 109 109 110 110 virtual ReturnType baseVal() const = 0; … … 116 116 virtual const QualifiedName& associatedAttributeName() const = 0; 117 117 118 typedef HashMap< SVGAnimatedTypeWrapperKey, SVGAnimatedTemplate<AnimatedType>*, SVGAnimatedTypeWrapperKeyHash,SVGAnimatedTypeWrapperKeyHashTraits > ElementToWrapperMap;118 typedef HashMap<DeprecatedSVGAnimatedTypeWrapperKey, DeprecatedSVGAnimatedTemplate<AnimatedType>*, DeprecatedSVGAnimatedTypeWrapperKeyHash, DeprecatedSVGAnimatedTypeWrapperKeyHashTraits > ElementToWrapperMap; 119 119 typedef typename ElementToWrapperMap::const_iterator ElementToWrapperMapIterator; 120 120 … … 125 125 } 126 126 127 static void forgetWrapper( SVGAnimatedTemplate<AnimatedType>* wrapper)127 static void forgetWrapper(DeprecatedSVGAnimatedTemplate<AnimatedType>* wrapper) 128 128 { 129 129 ElementToWrapperMap* cache = wrapperCache(); … … 140 140 141 141 template<typename AnimatedType> 142 class SVGAnimatedProperty;142 class DeprecatedSVGAnimatedProperty; 143 143 144 144 template<typename AnimatedType, typename AnimatedTearOff> 145 PassRefPtr<AnimatedTearOff> lookupOrCreateWrapper(SVGElement* element, SVGAnimatedProperty<AnimatedType>& creator, const QualifiedName& attrName)145 PassRefPtr<AnimatedTearOff> lookupOrCreateWrapper(SVGElement* element, DeprecatedSVGAnimatedProperty<AnimatedType>& creator, const QualifiedName& attrName) 146 146 { 147 SVGAnimatedTypeWrapperKey key(element, attrName.localName());147 DeprecatedSVGAnimatedTypeWrapperKey key(element, attrName.localName()); 148 148 RefPtr<AnimatedTearOff> wrapper = static_cast<AnimatedTearOff*>(AnimatedTearOff::wrapperCache()->get(key)); 149 149 … … 157 157 158 158 // Common type definitions, to ease IDL generation. 159 typedef SVGAnimatedTemplate<SVGAngle> SVGAnimatedAngle;160 typedef SVGAnimatedTemplate<bool> SVGAnimatedBoolean;161 typedef SVGAnimatedTemplate<int> SVGAnimatedEnumeration;162 typedef SVGAnimatedTemplate<long> SVGAnimatedInteger;163 typedef SVGAnimatedTemplate<SVGLength> SVGAnimatedLength;164 typedef SVGAnimatedTemplate<SVGLengthList*> SVGAnimatedLengthList;165 typedef SVGAnimatedTemplate<float> SVGAnimatedNumber;166 typedef SVGAnimatedTemplate<SVGNumberList*> SVGAnimatedNumberList;167 typedef SVGAnimatedTemplate<SVGPreserveAspectRatio> SVGAnimatedPreserveAspectRatio;168 typedef SVGAnimatedTemplate<FloatRect> SVGAnimatedRect;169 typedef SVGAnimatedTemplate<String> SVGAnimatedString;170 typedef SVGAnimatedTemplate<SVGTransformList*> SVGAnimatedTransformList;159 typedef DeprecatedSVGAnimatedTemplate<SVGAngle> SVGAnimatedAngle; 160 typedef DeprecatedSVGAnimatedTemplate<bool> SVGAnimatedBoolean; 161 typedef DeprecatedSVGAnimatedTemplate<int> SVGAnimatedEnumeration; 162 typedef DeprecatedSVGAnimatedTemplate<long> SVGAnimatedInteger; 163 typedef DeprecatedSVGAnimatedTemplate<SVGLength> SVGAnimatedLength; 164 typedef DeprecatedSVGAnimatedTemplate<SVGLengthList*> SVGAnimatedLengthList; 165 typedef DeprecatedSVGAnimatedTemplate<float> SVGAnimatedNumber; 166 typedef DeprecatedSVGAnimatedTemplate<SVGNumberList*> SVGAnimatedNumberList; 167 typedef DeprecatedSVGAnimatedTemplate<SVGPreserveAspectRatio> SVGAnimatedPreserveAspectRatio; 168 typedef DeprecatedSVGAnimatedTemplate<FloatRect> SVGAnimatedRect; 169 typedef DeprecatedSVGAnimatedTemplate<String> SVGAnimatedString; 170 typedef DeprecatedSVGAnimatedTemplate<SVGTransformList*> SVGAnimatedTransformList; 171 171 172 172 } -
trunk/WebCore/svg/SVGElement.h
r66397 r70135 111 111 112 112 // This file needs to be included after the SVGElement declaration 113 #include " SVGAnimatedProperty.h"113 #include "DeprecatedSVGAnimatedProperty.h" // NOLINT 114 114 115 115 #endif -
trunk/WebCore/svg/SVGExternalResourcesRequired.h
r66397 r70135 43 43 44 44 protected: 45 virtual void setExternalResourcesRequiredBaseValue( SVGAnimatedPropertyTraits<bool>::PassType) = 0;45 virtual void setExternalResourcesRequiredBaseValue(DeprecatedSVGAnimatedPropertyTraits<bool>::PassType) = 0; 46 46 }; 47 47 -
trunk/WebCore/svg/SVGFitToViewBox.h
r66397 r70135 40 40 bool isKnownAttribute(const QualifiedName&); 41 41 42 virtual void setViewBoxBaseValue( SVGAnimatedPropertyTraits<FloatRect>::PassType) = 0;43 virtual void setPreserveAspectRatioBaseValue( SVGAnimatedPropertyTraits<SVGPreserveAspectRatio>::PassType) = 0;42 virtual void setViewBoxBaseValue(DeprecatedSVGAnimatedPropertyTraits<FloatRect>::PassType) = 0; 43 virtual void setPreserveAspectRatioBaseValue(DeprecatedSVGAnimatedPropertyTraits<SVGPreserveAspectRatio>::PassType) = 0; 44 44 45 45 private: -
trunk/WebCore/svg/SVGURIReference.h
r66397 r70135 40 40 41 41 protected: 42 virtual void setHrefBaseValue( SVGAnimatedPropertyTraits<String>::PassType) = 0;42 virtual void setHrefBaseValue(DeprecatedSVGAnimatedPropertyTraits<String>::PassType) = 0; 43 43 }; 44 44 -
trunk/WebCore/svg/properties/SVGAnimatedPropertySynchronizer.h
r70057 r70135 21 21 #define SVGAnimatedPropertySynchronizer_h 22 22 23 #include " SVGAnimatedPropertyTraits.h"23 #include "DeprecatedSVGAnimatedPropertyTraits.h" 24 24 25 25 #if ENABLE(SVG)
Note: See TracChangeset
for help on using the changeset viewer.