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

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

Issue 21204002: core/svg: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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 17 matching lines...) Expand all
28 28
29 #include "CSSPropertyNames.h" 29 #include "CSSPropertyNames.h"
30 #include "SVGNames.h" 30 #include "SVGNames.h"
31 #include "core/css/CSSComputedStyleDeclaration.h" 31 #include "core/css/CSSComputedStyleDeclaration.h"
32 #include "core/css/CSSParser.h" 32 #include "core/css/CSSParser.h"
33 #include "core/page/UseCounter.h" 33 #include "core/page/UseCounter.h"
34 #include "core/platform/FloatConversion.h" 34 #include "core/platform/FloatConversion.h"
35 #include "core/svg/SVGAnimateElement.h" 35 #include "core/svg/SVGAnimateElement.h"
36 #include "core/svg/SVGParserUtilities.h" 36 #include "core/svg/SVGParserUtilities.h"
37 #include "core/svg/SVGStyledElement.h" 37 #include "core/svg/SVGStyledElement.h"
38 #include <wtf/MathExtras.h> 38 #include "wtf/MathExtras.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 // Animated property definitions 42 // Animated property definitions
43 DEFINE_ANIMATED_BOOLEAN(SVGAnimationElement, SVGNames::externalResourcesRequired Attr, ExternalResourcesRequired, externalResourcesRequired) 43 DEFINE_ANIMATED_BOOLEAN(SVGAnimationElement, SVGNames::externalResourcesRequired Attr, ExternalResourcesRequired, externalResourcesRequired)
44 44
45 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAnimationElement) 45 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAnimationElement)
46 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) 46 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
47 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) 47 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests)
48 END_REGISTER_ANIMATED_PROPERTIES 48 END_REGISTER_ANIMATED_PROPERTIES
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 SVGSMILElement::setAttributeName(attributeName); 700 SVGSMILElement::setAttributeName(attributeName);
701 checkInvalidCSSAttributeType(targetElement()); 701 checkInvalidCSSAttributeType(targetElement());
702 } 702 }
703 703
704 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target) 704 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target)
705 { 705 {
706 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa me()); 706 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa me());
707 } 707 }
708 708
709 } 709 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698