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 17 matching lines...) Expand all Loading... |
28 #include "core/svg/SVGGraphicsElement.h" | 28 #include "core/svg/SVGGraphicsElement.h" |
29 #include "core/svg/SVGImageLoader.h" | 29 #include "core/svg/SVGImageLoader.h" |
30 #include "core/svg/SVGURIReference.h" | 30 #include "core/svg/SVGURIReference.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class SVGImageElement final : public SVGGraphicsElement, | 35 class SVGImageElement final : public SVGGraphicsElement, |
36 public SVGURIReference { | 36 public SVGURIReference { |
37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGImageElement); | 38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN_NESTED(SVGImageElement, SVGGraphicsEle
ment); |
39 public: | 39 public: |
40 DECLARE_NODE_FACTORY(SVGImageElement); | 40 DECLARE_NODE_FACTORY(SVGImageElement); |
41 DECLARE_VIRTUAL_TRACE(); | 41 DECLARE_VIRTUAL_TRACE(); |
42 | 42 |
43 bool currentFrameHasSingleSecurityOrigin() const; | 43 bool currentFrameHasSingleSecurityOrigin() const; |
44 | 44 |
45 SVGAnimatedLength* x() const { return m_x.get(); } | 45 SVGAnimatedLength* x() const { return m_x.get(); } |
46 SVGAnimatedLength* y() const { return m_y.get(); } | 46 SVGAnimatedLength* y() const { return m_y.get(); } |
47 SVGAnimatedLength* width() const { return m_width.get(); } | 47 SVGAnimatedLength* width() const { return m_width.get(); } |
48 SVGAnimatedLength* height() const { return m_height.get(); } | 48 SVGAnimatedLength* height() const { return m_height.get(); } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 80 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
81 RefPtrWillBeMember<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; | 81 RefPtrWillBeMember<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; |
82 | 82 |
83 OwnPtrWillBeMember<SVGImageLoader> m_imageLoader; | 83 OwnPtrWillBeMember<SVGImageLoader> m_imageLoader; |
84 bool m_needsLoaderURIUpdate : 1; | 84 bool m_needsLoaderURIUpdate : 1; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 #endif // SVGImageElement_h | 89 #endif // SVGImageElement_h |
OLD | NEW |