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, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr
entValue()->byteStream(); } | 92 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr
entValue()->byteStream(); } |
93 | 93 |
94 void pathSegListChanged(ListModification = ListModificationUnknown); | 94 void pathSegListChanged(ListModification = ListModificationUnknown); |
95 | 95 |
96 virtual FloatRect getBBox() OVERRIDE; | 96 virtual FloatRect getBBox() OVERRIDE; |
97 | 97 |
98 private: | 98 private: |
99 explicit SVGPathElement(Document&); | 99 explicit SVGPathElement(Document&); |
100 | 100 |
101 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | |
102 | |
103 bool isSupportedAttribute(const QualifiedName&); | 101 bool isSupportedAttribute(const QualifiedName&); |
104 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 102 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
105 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 103 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
106 | 104 |
107 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; | 105 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; |
108 virtual void removedFrom(ContainerNode*) OVERRIDE; | 106 virtual void removedFrom(ContainerNode*) OVERRIDE; |
109 | 107 |
110 void invalidateMPathDependencies(); | 108 void invalidateMPathDependencies(); |
111 | 109 |
112 RefPtr<SVGAnimatedNumber> m_pathLength; | 110 RefPtr<SVGAnimatedNumber> m_pathLength; |
113 RefPtr<SVGAnimatedPath> m_pathSegList; | 111 RefPtr<SVGAnimatedPath> m_pathSegList; |
114 }; | 112 }; |
115 | 113 |
116 } // namespace WebCore | 114 } // namespace WebCore |
117 | 115 |
118 #endif | 116 #endif |
OLD | NEW |