| 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 29 matching lines...) Expand all Loading... |
| 40 SVGAnimatedLength* height() const { return m_height.get(); } | 40 SVGAnimatedLength* height() const { return m_height.get(); } |
| 41 | 41 |
| 42 virtual void trace(Visitor*) override; | 42 virtual void trace(Visitor*) override; |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 explicit SVGForeignObjectElement(Document&); | 45 explicit SVGForeignObjectElement(Document&); |
| 46 | 46 |
| 47 bool isSupportedAttribute(const QualifiedName&); | 47 bool isSupportedAttribute(const QualifiedName&); |
| 48 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 48 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 49 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 49 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 50 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; |
| 50 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 51 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
| 51 virtual void svgAttributeChanged(const QualifiedName&) override; | 52 virtual void svgAttributeChanged(const QualifiedName&) override; |
| 52 | 53 |
| 53 virtual bool rendererIsNeeded(const RenderStyle&) override; | 54 virtual bool rendererIsNeeded(const RenderStyle&) override; |
| 54 virtual RenderObject* createRenderer(RenderStyle*) override; | 55 virtual RenderObject* createRenderer(RenderStyle*) override; |
| 55 | 56 |
| 56 virtual bool selfHasRelativeLengths() const override; | 57 virtual bool selfHasRelativeLengths() const override; |
| 57 | 58 |
| 58 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 59 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
| 59 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 60 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
| 60 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 61 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
| 61 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 62 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace blink | 65 } // namespace blink |
| 65 | 66 |
| 66 #endif // SVGForeignObjectElement_h | 67 #endif // SVGForeignObjectElement_h |
| OLD | NEW |