OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Exposed for testing. | 53 // Exposed for testing. |
54 ImageResource* cachedImage() const { return imageLoader().image(); } | 54 ImageResource* cachedImage() const { return imageLoader().image(); } |
55 | 55 |
56 private: | 56 private: |
57 explicit SVGImageElement(Document&); | 57 explicit SVGImageElement(Document&); |
58 | 58 |
59 bool isStructurallyExternal() const override { | 59 bool isStructurallyExternal() const override { |
60 return !hrefString().isNull(); | 60 return !hrefString().isNull(); |
61 } | 61 } |
62 | 62 |
63 bool isPresentationAttribute(const QualifiedName&) const override; | |
64 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; | |
65 void collectStyleForPresentationAttribute(const QualifiedName&, | 63 void collectStyleForPresentationAttribute(const QualifiedName&, |
66 const AtomicString&, | 64 const AtomicString&, |
67 MutableStylePropertySet*) override; | 65 MutableStylePropertySet*) override; |
68 | 66 |
69 void svgAttributeChanged(const QualifiedName&) override; | 67 void svgAttributeChanged(const QualifiedName&) override; |
70 | 68 |
71 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 69 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
72 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 70 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
73 | 71 |
74 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 72 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
(...skipping 12 matching lines...) Expand all Loading... |
87 Member<SVGAnimatedLength> m_height; | 85 Member<SVGAnimatedLength> m_height; |
88 Member<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; | 86 Member<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; |
89 | 87 |
90 Member<SVGImageLoader> m_imageLoader; | 88 Member<SVGImageLoader> m_imageLoader; |
91 bool m_needsLoaderURIUpdate : 1; | 89 bool m_needsLoaderURIUpdate : 1; |
92 }; | 90 }; |
93 | 91 |
94 } // namespace blink | 92 } // namespace blink |
95 | 93 |
96 #endif // SVGImageElement_h | 94 #endif // SVGImageElement_h |
OLD | NEW |