| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 #endif | 37 #endif |
| 38 class SVGResourcesCache; | 38 class SVGResourcesCache; |
| 39 class SVGSMILElement; | 39 class SVGSMILElement; |
| 40 class SVGSVGElement; | 40 class SVGSVGElement; |
| 41 class Element; | 41 class Element; |
| 42 | 42 |
| 43 class SVGDocumentExtensions { | 43 class SVGDocumentExtensions { |
| 44 WTF_MAKE_NONCOPYABLE(SVGDocumentExtensions); WTF_MAKE_FAST_ALLOCATED; | 44 WTF_MAKE_NONCOPYABLE(SVGDocumentExtensions); WTF_MAKE_FAST_ALLOCATED; |
| 45 public: | 45 public: |
| 46 typedef HashSet<Element*> SVGPendingElements; | 46 typedef HashSet<Element*> SVGPendingElements; |
| 47 SVGDocumentExtensions(Document*); | 47 explicit SVGDocumentExtensions(Document*); |
| 48 ~SVGDocumentExtensions(); | 48 ~SVGDocumentExtensions(); |
| 49 | 49 |
| 50 void addTimeContainer(SVGSVGElement*); | 50 void addTimeContainer(SVGSVGElement*); |
| 51 void removeTimeContainer(SVGSVGElement*); | 51 void removeTimeContainer(SVGSVGElement*); |
| 52 | 52 |
| 53 void addResource(const AtomicString& id, RenderSVGResourceContainer*); | 53 void addResource(const AtomicString& id, RenderSVGResourceContainer*); |
| 54 void removeResource(const AtomicString& id); | 54 void removeResource(const AtomicString& id); |
| 55 RenderSVGResourceContainer* resourceById(const AtomicString& id) const; | 55 RenderSVGResourceContainer* resourceById(const AtomicString& id) const; |
| 56 | 56 |
| 57 static void serviceOnAnimationFrame(Document&, double monotonicAnimationStar
tTime); | 57 static void serviceOnAnimationFrame(Document&, double monotonicAnimationStar
tTime); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 void markPendingResourcesForRemoval(const AtomicString&); | 117 void markPendingResourcesForRemoval(const AtomicString&); |
| 118 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); | 118 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); |
| 119 | 119 |
| 120 private: | 120 private: |
| 121 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS
tring&); | 121 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS
tring&); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } | 124 } |
| 125 | 125 |
| 126 #endif | 126 #endif |
| OLD | NEW |