| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 HashMap<AtomicString, RenderSVGResourceContainer*> m_resources; | 74 HashMap<AtomicString, RenderSVGResourceContainer*> m_resources; |
| 75 HashMap<AtomicString, SVGPendingElements*> m_pendingResources; | 75 HashMap<AtomicString, SVGPendingElements*> m_pendingResources; |
| 76 OwnPtr<SVGResourcesCache> m_resourcesCache; | 76 OwnPtr<SVGResourcesCache> m_resourcesCache; |
| 77 | 77 |
| 78 public: | 78 public: |
| 79 // This HashMap contains a list of pending resources. Pending resources, are
such | 79 // This HashMap contains a list of pending resources. Pending resources, are
such |
| 80 // which are referenced by any object in the SVG document, but do NOT exist
yet. | 80 // which are referenced by any object in the SVG document, but do NOT exist
yet. |
| 81 // For instance, dynamically build gradients / patterns / clippers... | 81 // For instance, dynamically build gradients / patterns / clippers... |
| 82 void addPendingResource(const AtomicString& id, SVGStyledElement*); | 82 void addPendingResource(const AtomicString& id, SVGStyledElement*); |
| 83 bool hasPendingResources(const AtomicString& id) const; | 83 bool hasPendingResources(const AtomicString& id) const; |
| 84 bool isElementInPendingResources(SVGStyledElement*) const; |
| 84 void removeElementFromPendingResources(SVGStyledElement*); | 85 void removeElementFromPendingResources(SVGStyledElement*); |
| 85 PassOwnPtr<SVGPendingElements> removePendingResource(const AtomicString& id)
; | 86 PassOwnPtr<SVGPendingElements> removePendingResource(const AtomicString& id)
; |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } | 89 } |
| 89 | 90 |
| 90 #endif | 91 #endif |
| 91 #endif | 92 #endif |
| OLD | NEW |