Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: Source/core/svg/SVGTransformListTearOff.h

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: haraken review Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGTransformListTearOff.h
diff --git a/Source/core/svg/SVGPointListTearOff.h b/Source/core/svg/SVGTransformListTearOff.h
similarity index 64%
copy from Source/core/svg/SVGPointListTearOff.h
copy to Source/core/svg/SVGTransformListTearOff.h
index c7a6319b327559ba5e39c6b725ebc8946b6bc677..5e723b2d5fa3fe96f32654ea4eb4d78dcd89d70a 100644
--- a/Source/core/svg/SVGPointListTearOff.h
+++ b/Source/core/svg/SVGTransformListTearOff.h
@@ -28,31 +28,33 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SVGPointListTearOff_h
-#define SVGPointListTearOff_h
+#ifndef SVGTransformListTearOff_h
+#define SVGTransformListTearOff_h
-#include "core/svg/SVGPointList.h"
+#include "core/svg/SVGTransformList.h"
+#include "core/svg/SVGTransformTearOff.h"
#include "core/svg/properties/NewSVGListPropertyTearOffHelper.h"
namespace WebCore {
-class SVGPointListTearOff FINAL :
- public NewSVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>,
+class SVGTransformListTearOff FINAL :
+ public NewSVGListPropertyTearOffHelper<SVGTransformListTearOff, SVGTransformList>,
public ScriptWrappable {
public:
- static PassRefPtr<SVGPointListTearOff> create(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
+ static PassRefPtr<SVGTransformListTearOff> create(PassRefPtr<SVGTransformList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
{
- return adoptRef(new SVGPointListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRef(new SVGTransformListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
+ virtual ~SVGTransformListTearOff();
+
+ PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefPtr<SVGMatrixTearOff>) const;
+ PassRefPtr<SVGTransformTearOff> consolidate(ExceptionState&);
+
private:
- SVGPointListTearOff(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
- : NewSVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>(target, contextElement, propertyIsAnimVal, attributeName)
- {
- ScriptWrappable::init(this);
- }
+ SVGTransformListTearOff(PassRefPtr<SVGTransformList>, SVGElement*, PropertyIsAnimValType, const QualifiedName&);
};
} // namespace WebCore
-#endif // SVGPointListTearOff_h_
+#endif // SVGTransformListTearOff_h_

Powered by Google App Engine
This is Rietveld 408576698