OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
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 25 matching lines...) Expand all Loading... |
36 public SVGExternalResourcesRequired { | 36 public SVGExternalResourcesRequired { |
37 public: | 37 public: |
38 static PassRefPtr<SVGMPathElement> create(const QualifiedName&, const Handle
<Document>&); | 38 static PassRefPtr<SVGMPathElement> create(const QualifiedName&, const Handle
<Document>&); |
39 | 39 |
40 virtual ~SVGMPathElement(); | 40 virtual ~SVGMPathElement(); |
41 | 41 |
42 SVGPathElement* pathElement(); | 42 SVGPathElement* pathElement(); |
43 | 43 |
44 void targetPathChanged(); | 44 void targetPathChanged(); |
45 | 45 |
| 46 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi
sitor); } |
| 47 |
46 private: | 48 private: |
47 SVGMPathElement(const QualifiedName&, const Handle<Document>&); | 49 SVGMPathElement(const QualifiedName&, const Handle<Document>&); |
48 | 50 |
49 void buildPendingResource(); | 51 void buildPendingResource(); |
50 void clearResourceReferences(); | 52 void clearResourceReferences(); |
51 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 53 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
52 void removedFrom(const Handle<ContainerNode>&); | 54 void removedFrom(const Handle<ContainerNode>&); |
53 | 55 |
54 bool isSupportedAttribute(const QualifiedName&); | 56 bool isSupportedAttribute(const QualifiedName&); |
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
56 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 58 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
57 | 59 |
58 void notifyParentOfPathChange(const Handle<ContainerNode>&); | 60 void notifyParentOfPathChange(const Handle<ContainerNode>&); |
59 | 61 |
60 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement) | 62 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement) |
61 DECLARE_ANIMATED_STRING(Href, href) | 63 DECLARE_ANIMATED_STRING(Href, href) |
62 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 64 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
63 END_DECLARE_ANIMATED_PROPERTIES | 65 END_DECLARE_ANIMATED_PROPERTIES |
64 }; | 66 }; |
65 | 67 |
66 } // namespace WebCore | 68 } // namespace WebCore |
67 | 69 |
68 #endif // ENABLE(SVG) | 70 #endif // ENABLE(SVG) |
69 #endif // SVGMPathElement_h | 71 #endif // SVGMPathElement_h |
OLD | NEW |