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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGElement.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Records the SVG element as having a Web Animation on an SVG attribute tha t needs applying. 83 // Records the SVG element as having a Web Animation on an SVG attribute tha t needs applying.
84 void setWebAnimationsPending(); 84 void setWebAnimationsPending();
85 void applyActiveWebAnimations(); 85 void applyActiveWebAnimations();
86 86
87 void ensureAttributeAnimValUpdated(); 87 void ensureAttributeAnimValUpdated();
88 88
89 void setWebAnimatedAttribute(const QualifiedName& attribute, SVGPropertyBase *); 89 void setWebAnimatedAttribute(const QualifiedName& attribute, SVGPropertyBase *);
90 void clearWebAnimatedAttributes(); 90 void clearWebAnimatedAttributes();
91 91
92 void setAnimatedAttribute(const QualifiedName&, SVGPropertyBase*);
93 void clearAnimatedAttribute(const QualifiedName&);
94
92 SVGSVGElement* ownerSVGElement() const; 95 SVGSVGElement* ownerSVGElement() const;
93 SVGElement* viewportElement() const; 96 SVGElement* viewportElement() const;
94 97
95 SVGDocumentExtensions& accessDocumentSVGExtensions(); 98 SVGDocumentExtensions& accessDocumentSVGExtensions();
96 99
97 virtual bool isSVGGeometryElement() const { return false; } 100 virtual bool isSVGGeometryElement() const { return false; }
98 virtual bool isSVGGraphicsElement() const { return false; } 101 virtual bool isSVGGraphicsElement() const { return false; }
99 virtual bool isFilterEffect() const { return false; } 102 virtual bool isFilterEffect() const { return false; }
100 virtual bool isTextContent() const { return false; } 103 virtual bool isTextContent() const { return false; }
101 virtual bool isTextPositioning() const { return false; } 104 virtual bool isTextPositioning() const { return false; }
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 template<typename T> inline bool is##thisType(const T* node) { return is##th isType(node); } \ 284 template<typename T> inline bool is##thisType(const T* node) { return is##th isType(node); } \
282 template<typename T> inline bool is##thisType(const Member<T>& node) { retur n is##thisType(node.get()); } \ 285 template<typename T> inline bool is##thisType(const Member<T>& node) { retur n is##thisType(node.get()); } \
283 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \ 286 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \
284 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 287 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
285 288
286 } // namespace blink 289 } // namespace blink
287 290
288 #include "core/SVGElementTypeHelpers.h" 291 #include "core/SVGElementTypeHelpers.h"
289 292
290 #endif // SVGElement_h 293 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimationElement.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698