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 12 matching lines...) Expand all Loading... |
23 #include "core/SVGNames.h" | 23 #include "core/SVGNames.h" |
24 #include "core/svg/SVGAnimatedBoolean.h" | 24 #include "core/svg/SVGAnimatedBoolean.h" |
25 #include "core/svg/SVGAnimatedString.h" | 25 #include "core/svg/SVGAnimatedString.h" |
26 #include "core/svg/SVGElement.h" | 26 #include "core/svg/SVGElement.h" |
27 #include "core/svg/SVGURIReference.h" | 27 #include "core/svg/SVGURIReference.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class SVGPathElement; | 31 class SVGPathElement; |
32 | 32 |
33 class SVGMPathElement FINAL : public SVGElement, | 33 class SVGMPathElement final : public SVGElement, |
34 public SVGURIReference { | 34 public SVGURIReference { |
35 DEFINE_WRAPPERTYPEINFO(); | 35 DEFINE_WRAPPERTYPEINFO(); |
36 public: | 36 public: |
37 DECLARE_NODE_FACTORY(SVGMPathElement); | 37 DECLARE_NODE_FACTORY(SVGMPathElement); |
38 | 38 |
39 virtual ~SVGMPathElement(); | 39 virtual ~SVGMPathElement(); |
40 | 40 |
41 SVGPathElement* pathElement(); | 41 SVGPathElement* pathElement(); |
42 | 42 |
43 void targetPathChanged(); | 43 void targetPathChanged(); |
44 | 44 |
45 private: | 45 private: |
46 explicit SVGMPathElement(Document&); | 46 explicit SVGMPathElement(Document&); |
47 | 47 |
48 virtual void buildPendingResource() OVERRIDE; | 48 virtual void buildPendingResource() override; |
49 void clearResourceReferences(); | 49 void clearResourceReferences(); |
50 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 50 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
51 virtual void removedFrom(ContainerNode*) OVERRIDE; | 51 virtual void removedFrom(ContainerNode*) override; |
52 | 52 |
53 bool isSupportedAttribute(const QualifiedName&); | 53 bool isSupportedAttribute(const QualifiedName&); |
54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
55 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 55 virtual void svgAttributeChanged(const QualifiedName&) override; |
56 | 56 |
57 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 57 virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } |
58 void notifyParentOfPathChange(ContainerNode*); | 58 void notifyParentOfPathChange(ContainerNode*); |
59 | 59 |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif // SVGMPathElement_h | 64 #endif // SVGMPathElement_h |
OLD | NEW |