| 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 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 47 bool isPresentationAttribute(const QualifiedName&) const override; |
| 48 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; | 48 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; |
| 49 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 49 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
| 50 virtual void svgAttributeChanged(const QualifiedName&) override; | 50 void svgAttributeChanged(const QualifiedName&) override; |
| 51 | 51 |
| 52 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; | 52 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
| 53 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 53 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 54 | 54 |
| 55 virtual bool selfHasRelativeLengths() const override; | 55 bool selfHasRelativeLengths() const override; |
| 56 | 56 |
| 57 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 57 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
| 58 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 58 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
| 59 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 59 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
| 60 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 60 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // SVGForeignObjectElement_h | 65 #endif // SVGForeignObjectElement_h |
| OLD | NEW |