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

Side by Side Diff: Source/core/svg/SVGDocumentExtensions.h

Issue 298873003: SVG: SVGAnimateElement should not cache |m_animatedElements| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove_unused_line Created 6 years, 7 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) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void dispatchSVGLoadEventToOutermostSVGElements(); 63 void dispatchSVGLoadEventToOutermostSVGElements();
64 64
65 void reportWarning(const String&); 65 void reportWarning(const String&);
66 void reportError(const String&); 66 void reportError(const String&);
67 67
68 SVGResourcesCache* resourcesCache() const { return m_resourcesCache.get(); } 68 SVGResourcesCache* resourcesCache() const { return m_resourcesCache.get(); }
69 69
70 HashSet<SVGElement*>* setOfElementsReferencingTarget(SVGElement* referencedE lement) const; 70 HashSet<SVGElement*>* setOfElementsReferencingTarget(SVGElement* referencedE lement) const;
71 void addElementReferencingTarget(SVGElement* referencingElement, SVGElement* referencedElement); 71 void addElementReferencingTarget(SVGElement* referencingElement, SVGElement* referencedElement);
72 void removeAllTargetReferencesForElement(SVGElement*); 72 void removeAllTargetReferencesForElement(SVGElement*);
73 void rebuildAllElementReferencesForTarget(SVGElement*); 73 void rebuildAllElementReferencesForTarget(SVGElement*, bool onlySMILElements = false);
74 void rebuildSMILElementReferencesForTarget(SVGElement*);
74 void removeAllElementReferencesForTarget(SVGElement*); 75 void removeAllElementReferencesForTarget(SVGElement*);
75 76
76 void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*); 77 void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*);
77 void removeSVGRootWithRelativeLengthDescendents(SVGSVGElement*); 78 void removeSVGRootWithRelativeLengthDescendents(SVGSVGElement*);
78 bool isSVGRootWithRelativeLengthDescendents(SVGSVGElement*) const; 79 bool isSVGRootWithRelativeLengthDescendents(SVGSVGElement*) const;
79 void invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope*); 80 void invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope*);
80 81
81 #if ENABLE(SVG_FONTS) 82 #if ENABLE(SVG_FONTS)
82 const WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> >& svgFontFac eElements() const { return m_svgFontFaceElements; } 83 const WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> >& svgFontFac eElements() const { return m_svgFontFaceElements; }
83 void registerSVGFontFaceElement(SVGFontFaceElement*); 84 void registerSVGFontFaceElement(SVGFontFaceElement*);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void markPendingResourcesForRemoval(const AtomicString&); 135 void markPendingResourcesForRemoval(const AtomicString&);
135 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); 136 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&);
136 137
137 private: 138 private:
138 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS tring&); 139 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS tring&);
139 }; 140 };
140 141
141 } 142 }
142 143
143 #endif 144 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698