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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 bool currentFrameHasSingleSecurityOrigin() const; | 43 bool currentFrameHasSingleSecurityOrigin() const; |
44 | 44 |
45 virtual ~SVGFEImageElement(); | 45 virtual ~SVGFEImageElement(); |
46 SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAsp
ectRatio.get(); } | 46 SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAsp
ectRatio.get(); } |
47 | 47 |
48 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
49 | 49 |
50 private: | 50 private: |
51 explicit SVGFEImageElement(Document&); | 51 explicit SVGFEImageElement(Document&); |
52 | 52 |
53 bool isSupportedAttribute(const QualifiedName&); | |
54 virtual void svgAttributeChanged(const QualifiedName&) override; | 53 virtual void svgAttributeChanged(const QualifiedName&) override; |
55 virtual void notifyFinished(Resource*) override; | 54 virtual void notifyFinished(Resource*) override; |
56 | 55 |
57 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; | 56 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; |
58 | 57 |
59 void clearResourceReferences(); | 58 void clearResourceReferences(); |
60 void fetchImageResource(); | 59 void fetchImageResource(); |
61 | 60 |
62 virtual void buildPendingResource() override; | 61 virtual void buildPendingResource() override; |
63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 62 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
64 virtual void removedFrom(ContainerNode*) override; | 63 virtual void removedFrom(ContainerNode*) override; |
65 | 64 |
66 RefPtrWillBeMember<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; | 65 RefPtrWillBeMember<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; |
67 | 66 |
68 ResourcePtr<ImageResource> m_cachedImage; | 67 ResourcePtr<ImageResource> m_cachedImage; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace blink | 70 } // namespace blink |
72 | 71 |
73 #endif // SVGFEImageElement_h | 72 #endif // SVGFEImageElement_h |
OLD | NEW |