SVGSwitchElement.h [plain text]
#ifndef SVGSwitchElement_h
#define SVGSwitchElement_h
#include "SVGAnimatedBoolean.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGGraphicsElement.h"
namespace WebCore {
class SVGSwitchElement final : public SVGGraphicsElement,
public SVGExternalResourcesRequired {
public:
static Ref<SVGSwitchElement> create(const QualifiedName&, Document&);
private:
SVGSwitchElement(const QualifiedName&, Document&);
virtual bool isValid() const override { return SVGTests::isValid(); }
virtual bool childShouldCreateRenderer(const Node&) const override;
virtual RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) override;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSwitchElement)
DECLARE_ANIMATED_BOOLEAN_OVERRIDE(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif