| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@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 21 matching lines...) Expand all Loading... |
| 32 #include "core/svg/SVGURIReference.h" | 32 #include "core/svg/SVGURIReference.h" |
| 33 #include "core/svg/graphics/filters/SVGFEImage.h" | 33 #include "core/svg/graphics/filters/SVGFEImage.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 class SVGFEImageElement FINAL : public SVGFilterPrimitiveStandardAttributes, | 37 class SVGFEImageElement FINAL : public SVGFilterPrimitiveStandardAttributes, |
| 38 public SVGURIReference, | 38 public SVGURIReference, |
| 39 public SVGExternalResourcesRequired, | 39 public SVGExternalResourcesRequired, |
| 40 public ImageResourceClient { | 40 public ImageResourceClient { |
| 41 public: | 41 public: |
| 42 static PassRefPtr<SVGFEImageElement> create(const QualifiedName&, Document&)
; | 42 static PassRefPtr<SVGFEImageElement> create(Document&); |
| 43 | 43 |
| 44 bool currentFrameHasSingleSecurityOrigin() const; | 44 bool currentFrameHasSingleSecurityOrigin() const; |
| 45 | 45 |
| 46 virtual ~SVGFEImageElement(); | 46 virtual ~SVGFEImageElement(); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 SVGFEImageElement(const QualifiedName&, Document&); | 49 explicit SVGFEImageElement(Document&); |
| 50 | 50 |
| 51 bool isSupportedAttribute(const QualifiedName&); | 51 bool isSupportedAttribute(const QualifiedName&); |
| 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 53 virtual void svgAttributeChanged(const QualifiedName&); | 53 virtual void svgAttributeChanged(const QualifiedName&); |
| 54 virtual void notifyFinished(Resource*); | 54 virtual void notifyFinished(Resource*); |
| 55 | 55 |
| 56 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 56 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
| 57 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 57 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); |
| 58 | 58 |
| 59 void clearResourceReferences(); | 59 void clearResourceReferences(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 70 END_DECLARE_ANIMATED_PROPERTIES | 70 END_DECLARE_ANIMATED_PROPERTIES |
| 71 | 71 |
| 72 ResourcePtr<ImageResource> m_cachedImage; | 72 ResourcePtr<ImageResource> m_cachedImage; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 DEFINE_NODE_TYPE_CASTS(SVGFEImageElement, hasTagName(SVGNames::feImageTag)); | 75 DEFINE_NODE_TYPE_CASTS(SVGFEImageElement, hasTagName(SVGNames::feImageTag)); |
| 76 | 76 |
| 77 } // namespace WebCore | 77 } // namespace WebCore |
| 78 | 78 |
| 79 #endif | 79 #endif |
| OLD | NEW |