#ifndef RenderSVGInline_h
#define RenderSVGInline_h
#include "RenderInline.h"
#include "SVGGraphicsElement.h"
namespace WebCore {
class RenderSVGInline : public RenderInline {
public:
RenderSVGInline(SVGGraphicsElement&, PassRef<RenderStyle>);
SVGGraphicsElement& graphicsElement() const { return toSVGGraphicsElement(nodeForNonAnonymous()); }
private:
void element() const = delete;
virtual const char* renderName() const override { return "RenderSVGInline"; }
virtual bool requiresLayer() const override final { return false; }
virtual bool isSVGInline() const override final { return true; }
virtual void updateFromStyle() override final;
virtual FloatRect objectBoundingBox() const override final;
virtual FloatRect strokeBoundingBox() const override final;
virtual FloatRect repaintRectInLocalCoordinates() const override final;
virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override final;
virtual void computeFloatRectForRepaint(const RenderLayerModelObject* repaintContainer, FloatRect&, bool fixed = false) const override final;
virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const override final;
virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override final;
virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
virtual std::unique_ptr<InlineFlowBox> createInlineFlowBox() override final;
virtual void willBeDestroyed() override final;
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
virtual RenderObject* removeChild(RenderObject&) override final;
};
}
#endif // !RenderSVGTSpan_H