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

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: remove m_zoomAndPan 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
« no previous file with comments | « Source/core/svg/SVGTransformList.idl ('k') | Source/core/svg/SVGTransformListTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransformListTearOff.h
diff --git a/Source/core/svg/SVGNumberListTearOff.h b/Source/core/svg/SVGTransformListTearOff.h
similarity index 64%
copy from Source/core/svg/SVGNumberListTearOff.h
copy to Source/core/svg/SVGTransformListTearOff.h
index 81c82908da90a6a56f3855a202c9c065c1ac5119..5e723b2d5fa3fe96f32654ea4eb4d78dcd89d70a 100644
--- a/Source/core/svg/SVGNumberListTearOff.h
+++ b/Source/core/svg/SVGTransformListTearOff.h
@@ -28,31 +28,33 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SVGNumberListTearOff_h
-#define SVGNumberListTearOff_h
+#ifndef SVGTransformListTearOff_h
+#define SVGTransformListTearOff_h
-#include "core/svg/SVGNumberList.h"
+#include "core/svg/SVGTransformList.h"
+#include "core/svg/SVGTransformTearOff.h"
#include "core/svg/properties/NewSVGListPropertyTearOffHelper.h"
namespace WebCore {
-class SVGNumberListTearOff FINAL :
- public NewSVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>,
+class SVGTransformListTearOff FINAL :
+ public NewSVGListPropertyTearOffHelper<SVGTransformListTearOff, SVGTransformList>,
public ScriptWrappable {
public:
- static PassRefPtr<SVGNumberListTearOff> create(PassRefPtr<SVGNumberList> 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 SVGNumberListTearOff(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:
- SVGNumberListTearOff(PassRefPtr<SVGNumberList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
- : NewSVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>(target, contextElement, propertyIsAnimVal, attributeName)
- {
- ScriptWrappable::init(this);
- }
+ SVGTransformListTearOff(PassRefPtr<SVGTransformList>, SVGElement*, PropertyIsAnimValType, const QualifiedName&);
};
} // namespace WebCore
-#endif // SVGNumberListTearOff_h_
+#endif // SVGTransformListTearOff_h_
« no previous file with comments | « Source/core/svg/SVGTransformList.idl ('k') | Source/core/svg/SVGTransformListTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698