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

Side by Side Diff: Source/WebCore/svg/SVGAnimationElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document* document) 54 SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document* document)
55 : SVGSMILElement(tagName, document) 55 : SVGSMILElement(tagName, document)
56 , m_fromPropertyValueType(RegularPropertyValue) 56 , m_fromPropertyValueType(RegularPropertyValue)
57 , m_toPropertyValueType(RegularPropertyValue) 57 , m_toPropertyValueType(RegularPropertyValue)
58 , m_animationValid(false) 58 , m_animationValid(false)
59 , m_attributeType(AttributeTypeAuto) 59 , m_attributeType(AttributeTypeAuto)
60 , m_hasInvalidCSSAttributeType(false) 60 , m_hasInvalidCSSAttributeType(false)
61 , m_calcMode(CalcModeLinear) 61 , m_calcMode(CalcModeLinear)
62 , m_animationMode(NoAnimation) 62 , m_animationMode(NoAnimation)
63 { 63 {
64 ScriptWrappable::init(this);
64 registerAnimatedPropertiesForSVGAnimationElement(); 65 registerAnimatedPropertiesForSVGAnimationElement();
65 } 66 }
66 67
67 static void parseKeyTimes(const String& parse, Vector<float>& result, bool verif yOrder) 68 static void parseKeyTimes(const String& parse, Vector<float>& result, bool verif yOrder)
68 { 69 {
69 result.clear(); 70 result.clear();
70 Vector<String> parseList; 71 Vector<String> parseList;
71 parse.split(';', parseList); 72 parse.split(';', parseList);
72 for (unsigned n = 0; n < parseList.size(); ++n) { 73 for (unsigned n = 0; n < parseList.size(); ++n) {
73 String timeString = parseList[n]; 74 String timeString = parseList[n];
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 } 695 }
695 696
696 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target) 697 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target)
697 { 698 {
698 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa me()); 699 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa me());
699 } 700 }
700 701
701 } 702 }
702 703
703 #endif // ENABLE(SVG) 704 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGAnimateTransformElement.cpp ('k') | Source/WebCore/svg/SVGCircleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698