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

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

Issue 1420553004: SVG Web Animations: Add compositing pipeline for SVGInterpolationTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgValueInterpolationType
Patch Set: Fix oilpan and assert hit Created 5 years, 1 month 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 NearestViewportScope, // Used by SVGGraphicsElement::getCTM() 73 NearestViewportScope, // Used by SVGGraphicsElement::getCTM()
74 ScreenScope, // Used by SVGGraphicsElement::getScreenCTM() 74 ScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
75 AncestorScope // Used by SVGSVGElement::get{Enclosure|Intersection}List( ) 75 AncestorScope // Used by SVGSVGElement::get{Enclosure|Intersection}List( )
76 }; 76 };
77 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const; 77 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const;
78 virtual bool needsPendingResourceHandling() const { return true; } 78 virtual bool needsPendingResourceHandling() const { return true; }
79 79
80 bool instanceUpdatesBlocked() const; 80 bool instanceUpdatesBlocked() const;
81 void setInstanceUpdatesBlocked(bool); 81 void setInstanceUpdatesBlocked(bool);
82 82
83 // Records the SVG element as having a Web Animation on an SVG attribute tha t needs applying.
84 void setWebAnimationsPending();
85
83 SVGSVGElement* ownerSVGElement() const; 86 SVGSVGElement* ownerSVGElement() const;
84 SVGElement* viewportElement() const; 87 SVGElement* viewportElement() const;
85 88
86 SVGDocumentExtensions& accessDocumentSVGExtensions(); 89 SVGDocumentExtensions& accessDocumentSVGExtensions();
87 90
88 virtual bool isSVGGeometryElement() const { return false; } 91 virtual bool isSVGGeometryElement() const { return false; }
89 virtual bool isSVGGraphicsElement() const { return false; } 92 virtual bool isSVGGraphicsElement() const { return false; }
90 virtual bool isFilterEffect() const { return false; } 93 virtual bool isFilterEffect() const { return false; }
91 virtual bool isTextContent() const { return false; } 94 virtual bool isTextContent() const { return false; }
92 virtual bool isTextPositioning() const { return false; } 95 virtual bool isTextPositioning() const { return false; }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T >& node) { return is##thisType(node.get()); } \ 279 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T >& node) { return is##thisType(node.get()); } \
277 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n ode) { return is##thisType(node.get()); } \ 280 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n ode) { return is##thisType(node.get()); } \
278 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \ 281 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \
279 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 282 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
280 283
281 } // namespace blink 284 } // namespace blink
282 285
283 #include "core/SVGElementTypeHelpers.h" 286 #include "core/SVGElementTypeHelpers.h"
284 287
285 #endif // SVGElement_h 288 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698