Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (156109 => 156110)
--- trunk/Source/WebCore/CMakeLists.txt 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/CMakeLists.txt 2013-09-19 19:54:19 UTC (rev 156110)
@@ -2502,6 +2502,7 @@
svg/properties/SVGAnimatedProperty.cpp
svg/properties/SVGAttributeToPropertyMap.cpp
svg/properties/SVGPathSegListPropertyTearOff.cpp
+ svg/properties/SVGPropertyInfo.cpp
workers/AbstractWorker.cpp
workers/DedicatedWorkerGlobalScope.cpp
Modified: trunk/Source/WebCore/ChangeLog (156109 => 156110)
--- trunk/Source/WebCore/ChangeLog 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/ChangeLog 2013-09-19 19:54:19 UTC (rev 156110)
@@ -1,3 +1,22 @@
+2013-09-19 Andreas Kling <[email protected]>
+
+ 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 <[email protected]>
MediaStream API: update NavigatorUserMediaError object to match spec
Modified: trunk/Source/WebCore/GNUmakefile.list.am (156109 => 156110)
--- trunk/Source/WebCore/GNUmakefile.list.am 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2013-09-19 19:54:19 UTC (rev 156110)
@@ -5010,6 +5010,7 @@
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 \
Modified: trunk/Source/WebCore/Target.pri (156109 => 156110)
--- trunk/Source/WebCore/Target.pri 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/Target.pri 2013-09-19 19:54:19 UTC (rev 156110)
@@ -3735,6 +3735,7 @@
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 \
Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (156109 => 156110)
--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj 2013-09-19 19:54:19 UTC (rev 156110)
@@ -17645,6 +17645,7 @@
<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" />
Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (156109 => 156110)
--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters 2013-09-19 19:54:19 UTC (rev 156110)
@@ -4830,6 +4830,9 @@
<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>
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (156109 => 156110)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2013-09-19 19:54:19 UTC (rev 156110)
@@ -4632,6 +4632,7 @@
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 */; };
@@ -11480,6 +11481,7 @@
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>"; };
@@ -13521,6 +13523,7 @@
08FF101F12950F5900F00276 /* SVGPathSegListPropertyTearOff.cpp */,
084A0828128D7867002DB1F1 /* SVGPathSegListPropertyTearOff.h */,
088A0E01126EF1DB00978F7A /* SVGProperty.h */,
+ B543B85617EB758F003BE93A /* SVGPropertyInfo.cpp */,
081DD49B13BA1A6000DC7627 /* SVGPropertyInfo.h */,
088A0E02126EF1DB00978F7A /* SVGPropertyTearOff.h */,
088A0E03126EF1DB00978F7A /* SVGPropertyTraits.h */,
@@ -27415,6 +27418,7 @@
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 */,
Added: trunk/Source/WebCore/svg/properties/SVGPropertyInfo.cpp (0 => 156110)
--- trunk/Source/WebCore/svg/properties/SVGPropertyInfo.cpp (rev 0)
+++ trunk/Source/WebCore/svg/properties/SVGPropertyInfo.cpp 2013-09-19 19:54:19 UTC (rev 156110)
@@ -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)
Modified: trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h (156109 => 156110)
--- trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h 2013-09-19 19:22:41 UTC (rev 156109)
+++ trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h 2013-09-19 19:54:19 UTC (rev 156110)
@@ -63,15 +63,7 @@
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;