Add SVGPropertyInfo.cpp
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 19:54:19 +0000 (19:54 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 19:54:19 +0000 (19:54 +0000)
<https://webkit.org/b/121622>

Reviewed by Anders Carlsson.

Add a cpp file for this class to make it more hackable.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* svg/properties/SVGPropertyInfo.cpp: Added.
(WebCore::SVGPropertyInfo::SVGPropertyInfo):
* svg/properties/SVGPropertyInfo.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Target.pri
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/svg/properties/SVGPropertyInfo.cpp [new file with mode: 0644]
Source/WebCore/svg/properties/SVGPropertyInfo.h

index 0695ddfce368c1a0c8e51d0384c6c228b39782c9..0a51fc86e0491d7d968e34d2142dbb3c80890ad2 100644 (file)
@@ -2502,6 +2502,7 @@ set(WebCore_SOURCES
     svg/properties/SVGAnimatedProperty.cpp
     svg/properties/SVGAttributeToPropertyMap.cpp
     svg/properties/SVGPathSegListPropertyTearOff.cpp
+    svg/properties/SVGPropertyInfo.cpp
 
     workers/AbstractWorker.cpp
     workers/DedicatedWorkerGlobalScope.cpp
index 8ccd2f561c39915628f0f6db447a138b8b327ad1..2e82dffbc357e36b0c51c7421937319fae7bfcea 100644 (file)
@@ -1,3 +1,22 @@
+2013-09-19  Andreas Kling  <akling@apple.com>
+
+        Add SVGPropertyInfo.cpp
+        <https://webkit.org/b/121622>
+
+        Reviewed by Anders Carlsson.
+
+        Add a cpp file for this class to make it more hackable.
+
+        * CMakeLists.txt:
+        * GNUmakefile.list.am:
+        * Target.pri:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * svg/properties/SVGPropertyInfo.cpp: Added.
+        (WebCore::SVGPropertyInfo::SVGPropertyInfo):
+        * svg/properties/SVGPropertyInfo.h:
+
 2013-09-19  Eric Carlson  <eric.carlson@apple.com>
 
         MediaStream API: update NavigatorUserMediaError object to match spec
index 5fc532258f5c067d63769f3ad1d881e104ae1ef4..c2f9fefea959db9e60f99faeb1ac4da194e7bba7 100644 (file)
@@ -5010,6 +5010,7 @@ webcore_svg_sources += \
        Source/WebCore/svg/properties/SVGPathSegListPropertyTearOff.cpp \
        Source/WebCore/svg/properties/SVGPathSegListPropertyTearOff.h \
        Source/WebCore/svg/properties/SVGProperty.h \
+       Source/WebCore/svg/properties/SVGPropertyInfo.cpp \
        Source/WebCore/svg/properties/SVGPropertyInfo.h \
        Source/WebCore/svg/properties/SVGPropertyTearOff.h \
        Source/WebCore/svg/properties/SVGPropertyTraits.h \
index 646c44dca314bf00ab600fcd4cde6b64e5fd8cd7..ed5b24b1115bdcefd3419fc1af4d2ca62bf808db 100644 (file)
@@ -3735,6 +3735,7 @@ enable?(SVG) {
         svg/properties/SVGAnimatedProperty.cpp \
         svg/properties/SVGAttributeToPropertyMap.cpp \
         svg/properties/SVGPathSegListPropertyTearOff.cpp \
+        svg/properties/SVGPropertyInfo.cpp \
         svg/SVGDocumentExtensions.cpp \
         svg/ColorDistance.cpp \
         svg/SVGAElement.cpp \
index 30fe8fb9c29e3a559eafe06216f2f42a707bdd78..e67f2b18d44ee372ec947ec7b470d004766f2219 100644 (file)
     <ClCompile Include="..\svg\properties\SVGAnimatedProperty.cpp" />
     <ClCompile Include="..\svg\properties\SVGAttributeToPropertyMap.cpp" />
     <ClCompile Include="..\svg\properties\SVGPathSegListPropertyTearOff.cpp" />
+    <ClCompile Include="..\svg\properties\SVGPropertyInfo.cpp" />
     <ClCompile Include="..\history\BackForwardController.cpp" />
     <ClCompile Include="..\history\BackForwardList.cpp" />
     <ClCompile Include="..\history\CachedFrame.cpp" />
index bbd73e45a90092563b1bc6e028c69cbb8eaec900..5f0d485b72d5eb1bffb09f7f027ff295008a08f5 100644 (file)
     <ClCompile Include="..\svg\properties\SVGPathSegListPropertyTearOff.cpp">
       <Filter>rendering\svg\properties</Filter>
     </ClCompile>
+    <ClCompile Include="..\svg\properties\SVGPropertyInfo.cpp">
+      <Filter>rendering\svg\properties</Filter>
+    </ClCompile>
     <ClCompile Include="..\history\BackForwardController.cpp">
       <Filter>history</Filter>
     </ClCompile>
index c32ba5b1d2934f87819e79bbb0b96115707bc960..1874e7d5bf49e1f28c285f9a190bf8a3e20cba91 100644 (file)
                B525A96611CA2340003A23A8 /* JSSQLException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B525A96411CA2340003A23A8 /* JSSQLException.cpp */; };
                B5320D6B122A24E9002D1440 /* FontPlatformData.h in Headers */ = {isa = PBXBuildFile; fileRef = B5320D69122A24E9002D1440 /* FontPlatformData.h */; settings = {ATTRIBUTES = (Private, ); }; };
                B5320D6C122A24E9002D1440 /* FontPlatformDataCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = B5320D6A122A24E9002D1440 /* FontPlatformDataCocoa.mm */; };
+               B543B85717EB758F003BE93A /* SVGPropertyInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B543B85617EB758F003BE93A /* SVGPropertyInfo.cpp */; };
                B55D5AA4119131FC00BCC315 /* JSSQLTransactionSyncCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = B55D5AA2119131FC00BCC315 /* JSSQLTransactionSyncCallback.h */; };
                B55D5AA5119131FC00BCC315 /* JSSQLTransactionSyncCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B55D5AA3119131FC00BCC315 /* JSSQLTransactionSyncCallback.cpp */; };
                B55D5AA91191325000BCC315 /* JSSQLTransactionSyncCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B55D5AA71191325000BCC315 /* JSSQLTransactionSyncCustom.cpp */; };
                B525A96411CA2340003A23A8 /* JSSQLException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSQLException.cpp; sourceTree = "<group>"; };
                B5320D69122A24E9002D1440 /* FontPlatformData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FontPlatformData.h; sourceTree = "<group>"; };
                B5320D6A122A24E9002D1440 /* FontPlatformDataCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FontPlatformDataCocoa.mm; sourceTree = "<group>"; };
+               B543B85617EB758F003BE93A /* SVGPropertyInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGPropertyInfo.cpp; sourceTree = "<group>"; };
                B55D5AA2119131FC00BCC315 /* JSSQLTransactionSyncCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSQLTransactionSyncCallback.h; sourceTree = "<group>"; };
                B55D5AA3119131FC00BCC315 /* JSSQLTransactionSyncCallback.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSQLTransactionSyncCallback.cpp; sourceTree = "<group>"; };
                B55D5AA71191325000BCC315 /* JSSQLTransactionSyncCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSQLTransactionSyncCustom.cpp; sourceTree = "<group>"; };
                                08FF101F12950F5900F00276 /* SVGPathSegListPropertyTearOff.cpp */,
                                084A0828128D7867002DB1F1 /* SVGPathSegListPropertyTearOff.h */,
                                088A0E01126EF1DB00978F7A /* SVGProperty.h */,
+                               B543B85617EB758F003BE93A /* SVGPropertyInfo.cpp */,
                                081DD49B13BA1A6000DC7627 /* SVGPropertyInfo.h */,
                                088A0E02126EF1DB00978F7A /* SVGPropertyTearOff.h */,
                                088A0E03126EF1DB00978F7A /* SVGPropertyTraits.h */,
                                B2227A8E0D00BF220071B782 /* SVGPolyElement.cpp in Sources */,
                                B2227A900D00BF220071B782 /* SVGPolygonElement.cpp in Sources */,
                                B2227A930D00BF220071B782 /* SVGPolylineElement.cpp in Sources */,
+                               B543B85717EB758F003BE93A /* SVGPropertyInfo.cpp in Sources */,
                                B2227A960D00BF220071B782 /* SVGPreserveAspectRatio.cpp in Sources */,
                                B2227A990D00BF220071B782 /* SVGRadialGradientElement.cpp in Sources */,
                                B2227A9D0D00BF220071B782 /* SVGRectElement.cpp in Sources */,
diff --git a/Source/WebCore/svg/properties/SVGPropertyInfo.cpp b/Source/WebCore/svg/properties/SVGPropertyInfo.cpp
new file mode 100644 (file)
index 0000000..4306324
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) Research In Motion Limited 2011. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "config.h"
+#include "SVGPropertyInfo.h"
+
+#if ENABLE(SVG)
+
+namespace WebCore {
+
+SVGPropertyInfo::SVGPropertyInfo(AnimatedPropertyType newType, AnimatedPropertyState newState, const QualifiedName& newAttributeName, const AtomicString& newPropertyIdentifier, SynchronizeProperty newSynchronizeProperty, LookupOrCreateWrapperForAnimatedProperty newLookupOrCreateWrapperForAnimatedProperty)
+    : animatedPropertyType(newType)
+    , animatedPropertyState(newState)
+    , attributeName(newAttributeName)
+    , propertyIdentifier(newPropertyIdentifier)
+    , synchronizeProperty(newSynchronizeProperty)
+    , lookupOrCreateWrapperForAnimatedProperty(newLookupOrCreateWrapperForAnimatedProperty)
+{
+}
+
+} // namespace
+
+#endif // ENABLE(SVG)
index a58aeee47c03e36f82fce41b865b63e0c6ffb253..54778ee9e98bcfa864cfbee148960d0997e5c167 100644 (file)
@@ -63,15 +63,7 @@ public:
 
     SVGPropertyInfo(AnimatedPropertyType newType, AnimatedPropertyState newState, const QualifiedName& newAttributeName,
                     const AtomicString& newPropertyIdentifier, SynchronizeProperty newSynchronizeProperty,
-                    LookupOrCreateWrapperForAnimatedProperty newLookupOrCreateWrapperForAnimatedProperty)
-        : animatedPropertyType(newType)
-        , animatedPropertyState(newState)
-        , attributeName(newAttributeName)
-        , propertyIdentifier(newPropertyIdentifier)
-        , synchronizeProperty(newSynchronizeProperty)
-        , lookupOrCreateWrapperForAnimatedProperty(newLookupOrCreateWrapperForAnimatedProperty)
-    {
-    }
+                    LookupOrCreateWrapperForAnimatedProperty newLookupOrCreateWrapperForAnimatedProperty);
 
     AnimatedPropertyType animatedPropertyType;
     AnimatedPropertyState animatedPropertyState;