SVGSwitchElement.h [plain text]
#pragma once
#include "SVGAnimatedBoolean.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGGraphicsElement.h"
namespace WebCore {
class SVGSwitchElement final : public SVGGraphicsElement, public SVGExternalResourcesRequired {
WTF_MAKE_ISO_ALLOCATED(SVGSwitchElement);
public:
static Ref<SVGSwitchElement> create(const QualifiedName&, Document&);
private:
SVGSwitchElement(const QualifiedName&, Document&);
using AttributeOwnerProxy = SVGAttributeOwnerProxyImpl<SVGSwitchElement, SVGGraphicsElement, SVGExternalResourcesRequired>;
const SVGAttributeOwnerProxy& attributeOwnerProxy() const final { return m_attributeOwnerProxy; }
bool isValid() const final { return SVGTests::isValid(); }
bool childShouldCreateRenderer(const Node&) const final;
RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
AttributeOwnerProxy m_attributeOwnerProxy { *this };
};
}