2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef SVGMPathElement_h
21 #define SVGMPathElement_h
23 #include "core/SVGNames.h"
24 #include "core/svg/SVGAnimatedBoolean.h"
25 #include "core/svg/SVGAnimatedString.h"
26 #include "core/svg/SVGElement.h"
27 #include "core/svg/SVGURIReference.h"
33 class SVGMPathElement final
: public SVGElement
,
34 public SVGURIReference
{
35 DEFINE_WRAPPERTYPEINFO();
36 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGMPathElement
);
38 DECLARE_NODE_FACTORY(SVGMPathElement
);
40 ~SVGMPathElement() override
;
42 SVGPathElement
* pathElement();
44 void targetPathChanged();
46 DECLARE_VIRTUAL_TRACE();
49 explicit SVGMPathElement(Document
&);
51 void buildPendingResource() override
;
52 void clearResourceReferences();
53 InsertionNotificationRequest
insertedInto(ContainerNode
*) override
;
54 void removedFrom(ContainerNode
*) override
;
56 void svgAttributeChanged(const QualifiedName
&) override
;
58 bool layoutObjectIsNeeded(const ComputedStyle
&) override
{ return false; }
59 void notifyParentOfPathChange(ContainerNode
*);
65 #endif // SVGMPathElement_h