OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 26 matching lines...) Expand all Loading... |
37 SVGAnimatedLength* x() const { return m_x.get(); } | 37 SVGAnimatedLength* x() const { return m_x.get(); } |
38 SVGAnimatedLength* y() const { return m_y.get(); } | 38 SVGAnimatedLength* y() const { return m_y.get(); } |
39 SVGAnimatedLength* width() const { return m_width.get(); } | 39 SVGAnimatedLength* width() const { return m_width.get(); } |
40 SVGAnimatedLength* height() const { return m_height.get(); } | 40 SVGAnimatedLength* height() const { return m_height.get(); } |
41 | 41 |
42 DECLARE_VIRTUAL_TRACE(); | 42 DECLARE_VIRTUAL_TRACE(); |
43 | 43 |
44 private: | 44 private: |
45 explicit SVGForeignObjectElement(Document&); | 45 explicit SVGForeignObjectElement(Document&); |
46 | 46 |
47 bool isSupportedAttribute(const QualifiedName&); | |
48 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 47 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
49 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; | 48 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; |
50 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 49 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
51 virtual void svgAttributeChanged(const QualifiedName&) override; | 50 virtual void svgAttributeChanged(const QualifiedName&) override; |
52 | 51 |
53 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; | 52 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; |
54 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 53 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
55 | 54 |
56 virtual bool selfHasRelativeLengths() const override; | 55 virtual bool selfHasRelativeLengths() const override; |
57 | 56 |
58 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 57 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
59 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 58 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
60 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 59 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
61 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 60 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
62 }; | 61 }; |
63 | 62 |
64 } // namespace blink | 63 } // namespace blink |
65 | 64 |
66 #endif // SVGForeignObjectElement_h | 65 #endif // SVGForeignObjectElement_h |
OLD | NEW |