Changeset 70135 in webkit


Ignore:
Timestamp:
Oct 20, 2010 1:32:32 AM (14 years ago)
Author:
Nikolas Zimmermann
Message:

2010-10-20 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Adam Roben.

Rename SVGAnimatedProperty* -> DeprecatedSVGAnimatedProperty*
https://bugs.webkit.org/show_bug.cgi?id=47973

Prepare fixing bug 47905, redesigning SVGAnimatedProperty. As we're going to move type by type
to the new animated property concept, keep the old one around, marked deprecated, until the
transition is finished.

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/scripts/CodeGeneratorObjC.pm:
  • bindings/scripts/CodeGeneratorV8.pm:
  • svg/DeprecatedSVGAnimatedProperty.h: Copied from svg/SVGAnimatedProperty.h. (WebCore::DeprecatedSVGAnimatedPropertyTearOff::DeprecatedSVGAnimatedPropertyTearOff): (WebCore::DeprecatedSVGAnimatedPropertyTearOff::~DeprecatedSVGAnimatedPropertyTearOff): (WebCore::DeprecatedSVGAnimatedProperty::~DeprecatedSVGAnimatedProperty): (WebCore::DeprecatedSVGAnimatedProperty::DeprecatedSVGAnimatedProperty): (WebCore::DeprecatedSVGAnimatedProperty::value): (WebCore::DeprecatedSVGAnimatedProperty::baseValue):
  • svg/DeprecatedSVGAnimatedPropertyTraits.h: Copied from svg/SVGAnimatedPropertyTraits.h.
  • svg/DeprecatedSVGAnimatedTemplate.h: Copied from svg/SVGAnimatedTemplate.h. (WebCore::DeprecatedSVGAnimatedTypeWrapperKey::DeprecatedSVGAnimatedTypeWrapperKey): (WebCore::DeprecatedSVGAnimatedTypeWrapperKey::operator==): (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHash::hash): (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHash::equal): (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHashTraits::constructDeletedValue): (WebCore::DeprecatedSVGAnimatedTypeWrapperKeyHashTraits::isDeletedValue): (WebCore::DeprecatedSVGAnimatedTemplate::~DeprecatedSVGAnimatedTemplate): (WebCore::DeprecatedSVGAnimatedTemplate::forgetWrapper): (WebCore::lookupOrCreateWrapper):
  • svg/SVGAnimatedProperty.h: Removed.
  • svg/SVGAnimatedPropertySynchronizer.h: Removed.
  • svg/SVGAnimatedPropertyTraits.h: Removed.
  • svg/SVGAnimatedTemplate.h: Removed.
  • svg/SVGElement.h:
  • svg/SVGExternalResourcesRequired.h:
  • svg/SVGFitToViewBox.h:
  • svg/SVGURIReference.h:
  • svg/properties: Added.
  • svg/properties/SVGAnimatedPropertySynchronizer.h: Copied from svg/SVGAnimatedPropertySynchronizer.h.
Location:
trunk/WebCore
Files:
1 added
12 edited
4 moved

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70132 r70135  
     12010-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
    1482010-10-20  Shinichiro Hamaji  <hamaji@chromium.org>
    249
  • trunk/WebCore/GNUmakefile.am

    r70095 r70135  
    29942994        WebCore/svg/ColorDistance.cpp \
    29952995        WebCore/svg/ColorDistance.h \
     2996        WebCore/svg/DeprecatedSVGAnimatedProperty.h \
     2997        WebCore/svg/DeprecatedSVGAnimatedPropertyTraits.h \
     2998        WebCore/svg/DeprecatedSVGAnimatedTemplate.h \
    29962999        WebCore/svg/ElementTimeControl.h \
    29973000        WebCore/svg/GradientAttributes.h \
     
    30063009        WebCore/svg/LinearGradientAttributes.h \
    30073010        WebCore/svg/PatternAttributes.h \
     3011        WebCore/svg/properties/SVGAnimatedPropertySynchronizer.h \
    30083012        WebCore/svg/RadialGradientAttributes.h \
    30093013        WebCore/svg/SVGAElement.cpp \
     
    30193023        WebCore/svg/SVGAnimatedPoints.cpp \
    30203024        WebCore/svg/SVGAnimatedPoints.h \
    3021         WebCore/svg/SVGAnimatedProperty.h \
    3022         WebCore/svg/SVGAnimatedPropertySynchronizer.h \
    3023         WebCore/svg/SVGAnimatedPropertyTraits.h \
    3024         WebCore/svg/SVGAnimatedTemplate.h \
    30253025        WebCore/svg/SVGAnimateElement.cpp \
    30263026        WebCore/svg/SVGAnimateElement.h \
  • trunk/WebCore/WebCore.gypi

    r70095 r70135  
    39233923            'svg/graphics/SVGImage.cpp',
    39243924            'svg/graphics/SVGImage.h',
     3925            'svg/properties/SVGAnimatedPropertySynchronizer.h',
    39253926            'svg/ColorDistance.cpp',
    39263927            'svg/ColorDistance.h',
     3928            'svg/DeprecatedSVGAnimatedProperty.h',
     3929            'svg/DeprecatedSVGAnimatedPropertyTraits.h',
     3930            'svg/DeprecatedSVGAnimatedTemplate.h',
    39273931            'svg/ElementTimeControl.h',
    39283932            'svg/GradientAttributes.h',
     
    39493953            'svg/SVGAnimatedPoints.cpp',
    39503954            'svg/SVGAnimatedPoints.h',
    3951             'svg/SVGAnimatedProperty.h',
    3952             'svg/SVGAnimatedPropertySynchronizer.h',
    3953             'svg/SVGAnimatedPropertyTraits.h',
    3954             'svg/SVGAnimatedTemplate.h',
    39553955            'svg/SVGAnimationElement.cpp',
    39563956            'svg/SVGAnimationElement.h',
  • trunk/WebCore/WebCore.pro

    r70095 r70135  
    23362336    svg/animation/SVGSMILElement.h \
    23372337    svg/ColorDistance.h \
     2338    svg/DeprecatedSVGAnimatedProperty.h \
     2339    svg/DeprecatedSVGAnimatedPropertyTraits.h \
     2340    svg/DeprecatedSVGAnimatedTemplate.h \
    23382341    svg/graphics/filters/SVGFEImage.h \
    23392342    svg/graphics/filters/SVGFilterBuilder.h \
    23402343    svg/graphics/filters/SVGFilter.h \
    23412344    svg/graphics/SVGImage.h \
     2345    svg/properties/SVGAnimatedPropertySynchronizer.h \
    23422346    svg/SVGAElement.h \
    23432347    svg/SVGAltGlyphElement.h \
     
    23462350    svg/SVGAnimatedPathData.h \
    23472351    svg/SVGAnimatedPoints.h \
    2348     svg/SVGAnimatedProperty.h \
    2349     svg/SVGAnimatedPropertySynchronizer.h \
    2350     svg/SVGAnimatedPropertyTraits.h \
    2351     svg/SVGAnimatedTemplate.h \
    23522352    svg/SVGAnimateElement.h \
    23532353    svg/SVGAnimateMotionElement.h \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r70095 r70135  
    6115261152                        </File>
    6115361153                        <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
    6115461166                                RelativePath="..\svg\ElementTimeControl.h"
    6115561167                                >
     
    6118161193                        <File
    6118261194                                RelativePath="..\svg\SVGAnimatedPoints.h"
    61183                                 >
    61184                         </File>
    61185                         <File
    61186                                 RelativePath="..\svg\SVGAnimatedProperty.h"
    61187                                 >
    61188                         </File>
    61189                         <File
    61190                                 RelativePath="..\svg\SVGAnimatedPropertySynchronizer.h"
    61191                                 >
    61192                         </File>
    61193                         <File
    61194                                 RelativePath="..\svg\SVGAnimatedPropertyTraits.h"
    61195                                 >
    61196                         </File>
    61197                         <File
    61198                                 RelativePath="..\svg\SVGAnimatedTemplate.h"
    6119961195                                >
    6120061196                        </File>
     
    6221462210                                        </File>
    6221562211                                </Filter>
     62212                        </Filter>
     62213                        <Filter
     62214                                Name="properties"
     62215                                >
     62216                                <File
     62217                                RelativePath="..\svg\properties\SVGAnimatedPropertySynchronizer.h"
     62218                                        >
     62219                                </File>
    6221662220                        </Filter>
    6221762221                </Filter>
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r70095 r70135  
    8080                0818AEE30EDB86BC00647B66 /* WMLEventHandlingElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 0818AEE10EDB86BC00647B66 /* WMLEventHandlingElement.h */; };
    8181                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, ); }; };
    8286                081D81310EE0E74D00D73689 /* WMLTimerElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 081D812F0EE0E74D00D73689 /* WMLTimerElement.cpp */; };
    8387                081D81320EE0E74D00D73689 /* WMLTimerElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 081D81300EE0E74D00D73689 /* WMLTimerElement.h */; };
     
    109113                084D0E3E11F5816100081E1A /* SVGResourcesCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 084D0E3A11F5816100081E1A /* SVGResourcesCache.cpp */; };
    110114                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, ); }; };
    113115                084DBAA10ED39D360038C226 /* WMLVariables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 084DBA9D0ED39D350038C226 /* WMLVariables.cpp */; };
    114116                084DBAA20ED39D360038C226 /* WMLVariables.h in Headers */ = {isa = PBXBuildFile; fileRef = 084DBA9E0ED39D360038C226 /* WMLVariables.h */; };
     
    155157                08744BAA0EDB7D86004C9E63 /* WMLOnEventElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08744BA90EDB7D86004C9E63 /* WMLOnEventElement.cpp */; };
    156158                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, ); }; };
    158159                087D97BF10FB8D7700C00874 /* JSSVGPODListCustom.h in Headers */ = {isa = PBXBuildFile; fileRef = 087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */; };
    159160                087FFA0F0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 087FFA0D0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp */; };
     
    39183919                B22279870D00BF220071B782 /* SVGAnimatedPoints.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22277F10D00BF1F0071B782 /* SVGAnimatedPoints.cpp */; };
    39193920                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, ); }; };
    39213921                B222798F0D00BF220071B782 /* SVGAnimateElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */; };
    39223922                B22279900D00BF220071B782 /* SVGAnimateElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B22277FA0D00BF1F0071B782 /* SVGAnimateElement.h */; };
     
    60666066                0818AEE10EDB86BC00647B66 /* WMLEventHandlingElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLEventHandlingElement.h; sourceTree = "<group>"; };
    60676067                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>"; };
    60686072                081D812F0EE0E74D00D73689 /* WMLTimerElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLTimerElement.cpp; sourceTree = "<group>"; };
    60696073                081D81300EE0E74D00D73689 /* WMLTimerElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLTimerElement.h; sourceTree = "<group>"; };
     
    60936097                084D0E3A11F5816100081E1A /* SVGResourcesCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGResourcesCache.cpp; sourceTree = "<group>"; };
    60946098                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>"; };
    60976099                084DBA9D0ED39D350038C226 /* WMLVariables.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLVariables.cpp; sourceTree = "<group>"; };
    60986100                084DBA9E0ED39D360038C226 /* WMLVariables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLVariables.h; sourceTree = "<group>"; };
     
    61396141                08744BA90EDB7D86004C9E63 /* WMLOnEventElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLOnEventElement.cpp; sourceTree = "<group>"; };
    61406142                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>"; };
    61426143                087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGPODListCustom.h; sourceTree = "<group>"; };
    61436144                087FFA0D0EFF3ED3009DBD88 /* WMLInsertedLegendElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLInsertedLegendElement.cpp; sourceTree = "<group>"; };
     
    97259726                B22277F50D00BF1F0071B782 /* SVGAnimatedRect.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGAnimatedRect.idl; sourceTree = "<group>"; };
    97269727                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>"; };
    97289728                B22277F80D00BF1F0071B782 /* SVGAnimatedTransformList.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGAnimatedTransformList.idl; sourceTree = "<group>"; };
    97299729                B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimateElement.cpp; sourceTree = "<group>"; };
     
    1166011660                        tabWidth = 4;
    1166111661                        usesTabs = 0;
     11662                };
     11663                081CDFBD126ECFE800D215CA /* properties */ = {
     11664                        isa = PBXGroup;
     11665                        children = (
     11666                                081CDFBE126ECFE800D215CA /* SVGAnimatedPropertySynchronizer.h */,
     11667                        );
     11668                        path = properties;
     11669                        sourceTree = "<group>";
    1166211670                };
    1166311671                0867D691FE84028FC02AAC07 /* WebKit */ = {
     
    1586915877                                E46E97860DAAD61B0071E894 /* animation */,
    1587015878                                B25598860D00D8B800BB825C /* graphics */,
     15879                                081CDFBD126ECFE800D215CA /* properties */,
    1587115880                                B22277CB0D00BF1F0071B782 /* ColorDistance.cpp */,
    1587215881                                B22277CC0D00BF1F0071B782 /* ColorDistance.h */,
     15882                                081CDFB5126ECFDB00D215CA /* DeprecatedSVGAnimatedProperty.h */,
     15883                                081CDFB6126ECFDB00D215CA /* DeprecatedSVGAnimatedPropertyTraits.h */,
     15884                                081CDFB7126ECFDB00D215CA /* DeprecatedSVGAnimatedTemplate.h */,
    1587315885                                E415F1830D9A1A830033CE97 /* ElementTimeControl.h */,
    1587415886                                E415F10C0D9A05870033CE97 /* ElementTimeControl.idl */,
     
    1590415916                                B22277F30D00BF1F0071B782 /* SVGAnimatedPoints.idl */,
    1590515917                                B22277F40D00BF1F0071B782 /* SVGAnimatedPreserveAspectRatio.idl */,
    15906                                 0878B1F910874E3F00A55097 /* SVGAnimatedProperty.h */,
    15907                                 084D2831110A7FCB0038239A /* SVGAnimatedPropertySynchronizer.h */,
    15908                                 084D2832110A7FCB0038239A /* SVGAnimatedPropertyTraits.h */,
    1590915918                                B22277F50D00BF1F0071B782 /* SVGAnimatedRect.idl */,
    1591015919                                B22277F60D00BF1F0071B782 /* SVGAnimatedString.idl */,
    15911                                 B22277F70D00BF1F0071B782 /* SVGAnimatedTemplate.h */,
    1591215920                                B22277F80D00BF1F0071B782 /* SVGAnimatedTransformList.idl */,
    1591315921                                B22277F90D00BF1F0071B782 /* SVGAnimateElement.cpp */,
     
    2067220680                                B22279850D00BF220071B782 /* SVGAnimatedPathData.h in Headers */,
    2067320681                                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 */,
    2067820682                                B22279900D00BF220071B782 /* SVGAnimateElement.h in Headers */,
    2067920683                                B22279930D00BF220071B782 /* SVGAnimateMotionElement.h in Headers */,
     
    2108621090                                4FA3B90B125CD12200300BAD /* InspectorState.h in Headers */,
    2108721091                                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 */,
    2108821096                        );
    2108921097                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm

    r65021 r70135  
    589589
    590590    if ($codeGenerator->IsSVGAnimatedType($type)) {
    591         $implIncludes{"SVGAnimatedTemplate.h"} = 1;
     591        $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1;
    592592        $implIncludes{"DOM${type}Internal.h"} = 1;
    593593        return;
     
    984984
    985985        if ($codeGenerator->IsSVGAnimatedType($interfaceName)) {
    986             push(@internalHeaderContent, "#import <WebCore/SVGAnimatedTemplate.h>\n\n");
     986            push(@internalHeaderContent, "#import <WebCore/DeprecatedSVGAnimatedTemplate.h>\n\n");
    987987        } else {
    988988            push(@internalHeaderContent, "namespace WebCore {\n");
     
    10881088
    10891089    if ($codeGenerator->IsSVGAnimatedType($interfaceName)) {
    1090         $implIncludes{"SVGAnimatedTemplate.h"} = 1;
     1090        $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1;
    10911091    } elsif ($interfaceName =~ /(\w+)(Abs|Rel)$/) {
    10921092        $implIncludes{"$1.h"} = 1;
  • trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm

    r69370 r70135  
    188188    }
    189189
    190     $implIncludes{"SVGAnimatedTemplate.h"} = 1;
     190    $implIncludes{"DeprecatedSVGAnimatedTemplate.h"} = 1;
    191191}
    192192
     
    451451    }
    452452    return "" if (AvoidInclusionOfType($className));
    453     return "SVGAnimatedTemplate.h" if ($codeGenerator->IsSVGAnimatedType($className));
     453    return "DeprecatedSVGAnimatedTemplate.h" if ($codeGenerator->IsSVGAnimatedType($className));
    454454    return "${className}.h";
    455455}
  • trunk/WebCore/svg/DeprecatedSVGAnimatedProperty.h

    r70057 r70135  
    1919 */
    2020
    21 #ifndef SVGAnimatedProperty_h
    22 #define SVGAnimatedProperty_h
     21#ifndef DeprecatedSVGAnimatedProperty_h
     22#define DeprecatedSVGAnimatedProperty_h
    2323
    2424#if ENABLE(SVG)
    2525#include "SVGAnimatedPropertySynchronizer.h"
    26 #include "SVGAnimatedPropertyTraits.h"
    27 #include "SVGAnimatedTemplate.h"
     26#include "DeprecatedSVGAnimatedPropertyTraits.h"
     27#include "DeprecatedSVGAnimatedTemplate.h"
    2828
    2929namespace WebCore {
    3030
    3131template<typename AnimatedType>
    32 class SVGAnimatedProperty;
     32class DeprecatedSVGAnimatedProperty;
    3333
    3434template<typename AnimatedType>
    35 class SVGAnimatedPropertyTearOff : public SVGAnimatedTemplate<AnimatedType> {
     35class DeprecatedSVGAnimatedPropertyTearOff : public DeprecatedSVGAnimatedTemplate<AnimatedType> {
    3636public:
    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;
    4242
    4343    static PassRefPtr<Self> create(Creator& creator, SVGElement* contextElement)
     
    6363
    6464private:
    65     SVGAnimatedPropertyTearOff(Creator& creator, SVGElement* contextElement)
     65    DeprecatedSVGAnimatedPropertyTearOff(Creator& creator, SVGElement* contextElement)
    6666        : m_creator(creator)
    6767        , m_contextElement(contextElement)
     
    7070    }
    7171
    72     virtual ~SVGAnimatedPropertyTearOff()
     72    virtual ~DeprecatedSVGAnimatedPropertyTearOff()
    7373    {
    7474        m_creator.setShouldSynchronize(false);
     
    8080
    8181template<typename AnimatedType>
    82 class SVGAnimatedProperty {
     82class DeprecatedSVGAnimatedProperty {
    8383public:
    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())
    9292        , m_shouldSynchronize(false)
    9393    {
     
    9595
    9696    template<typename ConstructorParameterOne>
    97     SVGAnimatedProperty(const ConstructorParameterOne& value1)
     97    DeprecatedSVGAnimatedProperty(const ConstructorParameterOne& value1)
    9898        : m_value(value1)
    9999        , m_shouldSynchronize(false)
     
    102102
    103103    template<typename ConstructorParameterOne, typename ConstructorParameterTwo>
    104     SVGAnimatedProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2)
     104    DeprecatedSVGAnimatedProperty(const ConstructorParameterOne& value1, const ConstructorParameterTwo& value2)
    105105        : m_value(value1, value2)
    106106        , m_shouldSynchronize(false)
     
    108108    }
    109109
    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); }
    112112
    113113    void setValue(PassType type) { m_value = type; }
     
    128128// Helper macro used within DECLARE_ANIMATED_PROPERTY below
    129129#define DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, AnimatedType, UpperProperty) \
    130 class SVGAnimatedProperty##UpperProperty : public SVGAnimatedProperty<AnimatedType> { \
     130class DeprecatedSVGAnimatedProperty##UpperProperty : public DeprecatedSVGAnimatedProperty<AnimatedType> { \
    131131public: \
    132     SVGAnimatedProperty##UpperProperty() \
    133         : SVGAnimatedProperty<AnimatedType>() \
     132    DeprecatedSVGAnimatedProperty##UpperProperty() \
     133        : DeprecatedSVGAnimatedProperty<AnimatedType>() \
    134134    { \
    135135    } \
    136136    \
    137137    template<typename ConstructorParameterOne> \
    138     SVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1) \
    139         : SVGAnimatedProperty<AnimatedType>(value1) \
     138    DeprecatedSVGAnimatedProperty##UpperProperty(const ConstructorParameterOne& value1) \
     139        : DeprecatedSVGAnimatedProperty<AnimatedType>(value1) \
    140140    { \
    141141    } \
    142142    \
    143143    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) \
    146146    { \
    147147    } \
     
    150150    { \
    151151        ASSERT(m_shouldSynchronize); \
    152         AtomicString value(SVGAnimatedPropertyTraits<AnimatedType>::toString(baseValue())); \
     152        AtomicString value(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::toString(baseValue())); \
    153153        SVGAnimatedPropertySynchronizer<IsDerivedFromSVGElement<OwnerType>::value>::synchronize(contextElement, DOMAttribute, value); \
    154154    } \
     
    163163#define DECLARE_ANIMATED_PROPERTY_SHARED(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, AnimatedType, UpperProperty, LowerProperty) \
    164164private: \
    165     typedef SVGAnimatedPropertyTearOff<AnimatedType> SVGAnimatedPropertyTearOff##UpperProperty; \
     165    typedef DeprecatedSVGAnimatedPropertyTearOff<AnimatedType> DeprecatedSVGAnimatedPropertyTearOff##UpperProperty; \
    166166    DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, AnimatedType, UpperProperty); \
    167     SVGAnimatedProperty##UpperProperty m_##LowerProperty; \
     167    DeprecatedSVGAnimatedProperty##UpperProperty m_##LowerProperty; \
    168168    \
    169169public: \
    170     SVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty() const \
     170    DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty() const \
    171171    { \
    172172        return m_##LowerProperty.value(); \
    173173    } \
    174174    \
    175     SVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty##BaseValue() const \
     175    DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::ReturnType LowerProperty##BaseValue() const \
    176176    { \
    177177        return m_##LowerProperty.baseValue(); \
    178178    } \
    179179    \
    180     void set##UpperProperty(SVGAnimatedPropertyTraits<AnimatedType>::PassType type) \
     180    void set##UpperProperty(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType type) \
    181181    { \
    182182        m_##LowerProperty.setValue(type); \
     
    185185    } \
    186186    \
    187     void set##UpperProperty##BaseValue(SVGAnimatedPropertyTraits<AnimatedType>::PassType type) \
     187    void set##UpperProperty##BaseValue(DeprecatedSVGAnimatedPropertyTraits<AnimatedType>::PassType type) \
    188188    { \
    189189        m_##LowerProperty.setBaseValue(type); \
     
    200200    } \
    201201    \
    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); \
    206206    }
    207207
  • trunk/WebCore/svg/DeprecatedSVGAnimatedPropertyTraits.h

    r70057 r70135  
    1919 */
    2020
    21 #ifndef SVGAnimatedPropertyTraits_h
    22 #define SVGAnimatedPropertyTraits_h
     21#ifndef DeprecatedSVGAnimatedPropertyTraits_h
     22#define DeprecatedSVGAnimatedPropertyTraits_h
    2323
    2424#if ENABLE(SVG)
     
    3535
    3636template<typename Type>
    37 struct SVGAnimatedPropertyTraits : public Noncopyable { };
     37struct DeprecatedSVGAnimatedPropertyTraits : public Noncopyable { };
    3838
    3939// SVGAnimatedAngle
    4040template<>
    41 struct SVGAnimatedPropertyTraits<SVGAngle> : public Noncopyable {
     41struct DeprecatedSVGAnimatedPropertyTraits<SVGAngle> : public Noncopyable {
    4242    typedef const SVGAngle& PassType;
    4343    typedef SVGAngle ReturnType;
     
    5151// SVGAnimatedBoolean
    5252template<>
    53 struct SVGAnimatedPropertyTraits<bool> : public Noncopyable {
     53struct DeprecatedSVGAnimatedPropertyTraits<bool> : public Noncopyable {
    5454    typedef const bool& PassType;
    5555    typedef bool ReturnType;
     
    6363// SVGAnimatedEnumeration
    6464template<>
    65 struct SVGAnimatedPropertyTraits<int> : public Noncopyable {
     65struct DeprecatedSVGAnimatedPropertyTraits<int> : public Noncopyable {
    6666    typedef const int& PassType;
    6767    typedef int ReturnType;
     
    7575// SVGAnimatedInteger
    7676template<>
    77 struct SVGAnimatedPropertyTraits<long> : public Noncopyable {
     77struct DeprecatedSVGAnimatedPropertyTraits<long> : public Noncopyable {
    7878    typedef const long& PassType;
    7979    typedef long ReturnType;
     
    8787// SVGAnimatedLength
    8888template<>
    89 struct SVGAnimatedPropertyTraits<SVGLength> : public Noncopyable {
     89struct DeprecatedSVGAnimatedPropertyTraits<SVGLength> : public Noncopyable {
    9090    typedef const SVGLength& PassType;
    9191    typedef SVGLength ReturnType;
     
    9999// SVGAnimatedLengthList
    100100template<>
    101 struct SVGAnimatedPropertyTraits<SVGLengthList*> : public Noncopyable {
     101struct DeprecatedSVGAnimatedPropertyTraits<SVGLengthList*> : public Noncopyable {
    102102    typedef SVGLengthList* PassType;
    103103    typedef SVGLengthList* ReturnType;
     
    111111// SVGAnimatedNumber
    112112template<>
    113 struct SVGAnimatedPropertyTraits<float> : public Noncopyable {
     113struct DeprecatedSVGAnimatedPropertyTraits<float> : public Noncopyable {
    114114    typedef const float& PassType;
    115115    typedef float ReturnType;
     
    123123// SVGAnimatedNumberList
    124124template<>
    125 struct SVGAnimatedPropertyTraits<SVGNumberList*> : public Noncopyable {
     125struct DeprecatedSVGAnimatedPropertyTraits<SVGNumberList*> : public Noncopyable {
    126126    typedef SVGNumberList* PassType;
    127127    typedef SVGNumberList* ReturnType;
     
    135135// SVGAnimatedPreserveAspectRatio
    136136template<>
    137 struct SVGAnimatedPropertyTraits<SVGPreserveAspectRatio> : public Noncopyable {
     137struct DeprecatedSVGAnimatedPropertyTraits<SVGPreserveAspectRatio> : public Noncopyable {
    138138    typedef const SVGPreserveAspectRatio& PassType;
    139139    typedef SVGPreserveAspectRatio ReturnType;
     
    147147// SVGAnimatedRect
    148148template<>
    149 struct SVGAnimatedPropertyTraits<FloatRect> : public Noncopyable {
     149struct DeprecatedSVGAnimatedPropertyTraits<FloatRect> : public Noncopyable {
    150150    typedef const FloatRect& PassType;
    151151    typedef FloatRect ReturnType;
     
    159159// SVGAnimatedString
    160160template<>
    161 struct SVGAnimatedPropertyTraits<String> : public Noncopyable {
     161struct DeprecatedSVGAnimatedPropertyTraits<String> : public Noncopyable {
    162162    typedef const String& PassType;
    163163    typedef String ReturnType;
     
    171171// SVGAnimatedTransformList
    172172template<>
    173 struct SVGAnimatedPropertyTraits<SVGTransformList*> : public Noncopyable {
     173struct DeprecatedSVGAnimatedPropertyTraits<SVGTransformList*> : public Noncopyable {
    174174    typedef SVGTransformList* PassType;
    175175    typedef SVGTransformList* ReturnType;
  • trunk/WebCore/svg/DeprecatedSVGAnimatedTemplate.h

    r70057 r70135  
    1919 */
    2020
    21 #ifndef SVGAnimatedTemplate_h
    22 #define SVGAnimatedTemplate_h
     21#ifndef DeprecatedSVGAnimatedTemplate_h
     22#define DeprecatedSVGAnimatedTemplate_h
    2323
    2424#if ENABLE(SVG)
    25 #include "SVGAnimatedPropertyTraits.h"
     25#include "DeprecatedSVGAnimatedPropertyTraits.h"
    2626#include <wtf/Forward.h>
    2727#include <wtf/HashMap.h>
     
    3737    class QualifiedName;
    3838
    39     struct SVGAnimatedTypeWrapperKey {           
     39    struct DeprecatedSVGAnimatedTypeWrapperKey {           
    4040        // Empty value
    41         SVGAnimatedTypeWrapperKey()
     41        DeprecatedSVGAnimatedTypeWrapperKey()
    4242            : element(0)
    4343            , attributeName(0)
     
    4545
    4646        // Deleted value
    47         SVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValueType)
     47        DeprecatedSVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValueType)
    4848            : element(reinterpret_cast<SVGElement*>(-1))
    4949        {
     
    5555        }
    5656
    57         SVGAnimatedTypeWrapperKey(const SVGElement* _element, const AtomicString& _attributeName)
     57        DeprecatedSVGAnimatedTypeWrapperKey(const SVGElement* _element, const AtomicString& _attributeName)
    5858            : element(_element)
    5959            , attributeName(_attributeName.impl())
     
    6363        }
    6464
    65         bool operator==(const SVGAnimatedTypeWrapperKey& other) const
     65        bool operator==(const DeprecatedSVGAnimatedTypeWrapperKey& other) const
    6666        {
    6767            return element == other.element && attributeName == other.attributeName;
     
    7272    };
    7373   
    74     struct SVGAnimatedTypeWrapperKeyHash {
    75         static unsigned hash(const SVGAnimatedTypeWrapperKey& key)
     74    struct DeprecatedSVGAnimatedTypeWrapperKeyHash {
     75        static unsigned hash(const DeprecatedSVGAnimatedTypeWrapperKey& key)
    7676        {
    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));
    7878        }
    7979
    80         static bool equal(const SVGAnimatedTypeWrapperKey& a, const SVGAnimatedTypeWrapperKey& b)
     80        static bool equal(const DeprecatedSVGAnimatedTypeWrapperKey& a, const DeprecatedSVGAnimatedTypeWrapperKey& b)
    8181        {
    8282            return a == b;
     
    8686    };
    8787
    88     struct SVGAnimatedTypeWrapperKeyHashTraits : WTF::GenericHashTraits<SVGAnimatedTypeWrapperKey> {
     88    struct DeprecatedSVGAnimatedTypeWrapperKeyHashTraits : WTF::GenericHashTraits<DeprecatedSVGAnimatedTypeWrapperKey> {
    8989        static const bool emptyValueIsZero = true;
    9090
    91         static void constructDeletedValue(SVGAnimatedTypeWrapperKey& slot)
     91        static void constructDeletedValue(DeprecatedSVGAnimatedTypeWrapperKey& slot)
    9292        {
    93             new (&slot) SVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValue);
     93            new (&slot) DeprecatedSVGAnimatedTypeWrapperKey(WTF::HashTableDeletedValue);
    9494        }
    9595
    96         static bool isDeletedValue(const SVGAnimatedTypeWrapperKey& value)
     96        static bool isDeletedValue(const DeprecatedSVGAnimatedTypeWrapperKey& value)
    9797        {
    9898            return value.isHashTableDeletedValue();
     
    101101 
    102102    template<typename AnimatedType>
    103     class SVGAnimatedTemplate : public RefCounted<SVGAnimatedTemplate<AnimatedType> > {
     103    class DeprecatedSVGAnimatedTemplate : public RefCounted<DeprecatedSVGAnimatedTemplate<AnimatedType> > {
    104104    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;
    107107
    108         virtual ~SVGAnimatedTemplate() { forgetWrapper(this); }
     108        virtual ~DeprecatedSVGAnimatedTemplate() { forgetWrapper(this); }
    109109
    110110        virtual ReturnType baseVal() const = 0;
     
    116116        virtual const QualifiedName& associatedAttributeName() const = 0;
    117117
    118         typedef HashMap<SVGAnimatedTypeWrapperKey, SVGAnimatedTemplate<AnimatedType>*, SVGAnimatedTypeWrapperKeyHash, SVGAnimatedTypeWrapperKeyHashTraits > ElementToWrapperMap;
     118        typedef HashMap<DeprecatedSVGAnimatedTypeWrapperKey, DeprecatedSVGAnimatedTemplate<AnimatedType>*, DeprecatedSVGAnimatedTypeWrapperKeyHash, DeprecatedSVGAnimatedTypeWrapperKeyHashTraits > ElementToWrapperMap;
    119119        typedef typename ElementToWrapperMap::const_iterator ElementToWrapperMapIterator;
    120120
     
    125125        }
    126126
    127         static void forgetWrapper(SVGAnimatedTemplate<AnimatedType>* wrapper)
     127        static void forgetWrapper(DeprecatedSVGAnimatedTemplate<AnimatedType>* wrapper)
    128128        {
    129129            ElementToWrapperMap* cache = wrapperCache();
     
    140140
    141141    template<typename AnimatedType>
    142     class SVGAnimatedProperty;
     142    class DeprecatedSVGAnimatedProperty;
    143143
    144144    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)
    146146    {
    147         SVGAnimatedTypeWrapperKey key(element, attrName.localName());
     147        DeprecatedSVGAnimatedTypeWrapperKey key(element, attrName.localName());
    148148        RefPtr<AnimatedTearOff> wrapper = static_cast<AnimatedTearOff*>(AnimatedTearOff::wrapperCache()->get(key));
    149149
     
    157157
    158158    // 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;
    171171
    172172}
  • trunk/WebCore/svg/SVGElement.h

    r66397 r70135  
    111111
    112112// This file needs to be included after the SVGElement declaration
    113 #include "SVGAnimatedProperty.h"
     113#include "DeprecatedSVGAnimatedProperty.h" // NOLINT
    114114
    115115#endif
  • trunk/WebCore/svg/SVGExternalResourcesRequired.h

    r66397 r70135  
    4343
    4444    protected:
    45         virtual void setExternalResourcesRequiredBaseValue(SVGAnimatedPropertyTraits<bool>::PassType) = 0;
     45        virtual void setExternalResourcesRequiredBaseValue(DeprecatedSVGAnimatedPropertyTraits<bool>::PassType) = 0;
    4646    };
    4747
  • trunk/WebCore/svg/SVGFitToViewBox.h

    r66397 r70135  
    4040    bool isKnownAttribute(const QualifiedName&);
    4141
    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;
    4444
    4545private:
  • trunk/WebCore/svg/SVGURIReference.h

    r66397 r70135  
    4040
    4141    protected:
    42         virtual void setHrefBaseValue(SVGAnimatedPropertyTraits<String>::PassType) = 0;
     42        virtual void setHrefBaseValue(DeprecatedSVGAnimatedPropertyTraits<String>::PassType) = 0;
    4343    };
    4444
  • trunk/WebCore/svg/properties/SVGAnimatedPropertySynchronizer.h

    r70057 r70135  
    2121#define SVGAnimatedPropertySynchronizer_h
    2222
    23 #include "SVGAnimatedPropertyTraits.h"
     23#include "DeprecatedSVGAnimatedPropertyTraits.h"
    2424
    2525#if ENABLE(SVG)
Note: See TracChangeset for help on using the changeset viewer.