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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimateElement.h

Issue 2272033002: Refactor SMIL animation value updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@smil-css-prop-update
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/CoreExport.h" 26 #include "core/CoreExport.h"
27 #include "core/SVGNames.h" 27 #include "core/SVGNames.h"
28 #include "core/svg/SVGAnimatedTypeAnimator.h" 28 #include "core/svg/SVGAnimatedTypeAnimator.h"
29 #include "core/svg/SVGAnimationElement.h" 29 #include "core/svg/SVGAnimationElement.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include <base/gtest_prod_util.h> 31 #include <base/gtest_prod_util.h>
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class SVGAnimatedTypeAnimator; 35 // The size of SVGElementInstances is 1 unless there is a <use> instance of the element.
36 using SVGElementInstances = HeapVector<Member<SVGElement>, 1u>;
36 37
37 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement { 38 class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement {
38 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
39 public: 40 public:
40 static SVGAnimateElement* create(Document&); 41 static SVGAnimateElement* create(Document&);
41 ~SVGAnimateElement() override; 42 ~SVGAnimateElement() override;
42 43
43 DECLARE_VIRTUAL_TRACE(); 44 DECLARE_VIRTUAL_TRACE();
44 45
45 bool isSVGAnimationAttributeSettingJavaScriptURL(const Attribute&) const ove rride; 46 bool isSVGAnimationAttributeSettingJavaScriptURL(const Attribute&) const ove rride;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return element.hasTagName(SVGNames::animateTag) 87 return element.hasTagName(SVGNames::animateTag)
87 || element.hasTagName(SVGNames::animateTransformTag) 88 || element.hasTagName(SVGNames::animateTransformTag)
88 || element.hasTagName(SVGNames::setTag); 89 || element.hasTagName(SVGNames::setTag);
89 } 90 }
90 91
91 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement);
92 93
93 } // namespace blink 94 } // namespace blink
94 95
95 #endif // SVGAnimateElement_h 96 #endif // SVGAnimateElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698