#ifndef RenderSVGGradientStop_h
#define RenderSVGGradientStop_h
#include "core/rendering/RenderObject.h"
namespace WebCore {
class SVGGradientElement;
class SVGStopElement;
class RenderSVGGradientStop FINAL : public RenderObject {
public:
explicit RenderSVGGradientStop(SVGStopElement*);
virtual ~RenderSVGGradientStop();
virtual const char* renderName() const OVERRIDE { return "RenderSVGGradientStop"; }
virtual bool isSVGGradientStop() const OVERRIDE { return true; }
virtual bool isSVG() const OVERRIDE { return true; }
virtual void layout() OVERRIDE;
virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const OVERRIDE { return LayoutRect(); }
virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(); }
virtual FloatRect strokeBoundingBox() const OVERRIDE { return FloatRect(); }
virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE { return FloatRect(); }
protected:
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
private:
SVGGradientElement* gradientElement() const;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGGradientStop, isSVGGradientStop());
}
#endif