Index: Source/core/rendering/svg/RenderSVGBlock.h |
diff --git a/Source/core/rendering/svg/RenderSVGBlock.h b/Source/core/rendering/svg/RenderSVGBlock.h |
deleted file mode 100644 |
index 06f0038ce673f0c4abd474482cd1d5b2d6570e23..0000000000000000000000000000000000000000 |
--- a/Source/core/rendering/svg/RenderSVGBlock.h |
+++ /dev/null |
@@ -1,69 +0,0 @@ |
-/* |
- * Copyright (C) 2006 Apple Computer, Inc. |
- * |
- * This library is free software; you can redistribute it and/or |
- * modify it under the terms of the GNU Library General Public |
- * License as published by the Free Software Foundation; either |
- * version 2 of the License, or (at your option) any later version. |
- * |
- * This library is distributed in the hope that it will be useful, |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
- * Library General Public License for more details. |
- * |
- * You should have received a copy of the GNU Library General Public License |
- * along with this library; see the file COPYING.LIB. If not, write to |
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
- * Boston, MA 02110-1301, USA. |
- */ |
- |
-#ifndef RenderSVGBlock_h |
-#define RenderSVGBlock_h |
- |
-#include "core/rendering/RenderBlockFlow.h" |
- |
-namespace blink { |
- |
-class SVGElement; |
- |
-class RenderSVGBlock : public RenderBlockFlow { |
-public: |
- explicit RenderSVGBlock(SVGElement*); |
- |
- virtual LayoutRect visualOverflowRect() const override final; |
- |
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override final; |
- |
- virtual void mapLocalToContainer(const LayoutLayerModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const override final; |
- virtual const LayoutObject* pushMappingToContainer(const LayoutLayerModelObject* ancestorToStopAt, LayoutGeometryMap&) const override final; |
- |
- virtual AffineTransform localTransform() const override final { return m_localTransform; } |
- |
- virtual LayerType layerTypeRequired() const override final { return NoLayer; } |
- |
- virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override; |
- |
- // Transitioning out of SVG painters requires updating the PaintInfo rect which is only used by non-SVG painters. |
- void updatePaintInfoRect(IntRect&); |
- |
-protected: |
- virtual void willBeDestroyed() override; |
- virtual void mapRectToPaintInvalidationBacking(const LayoutLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const override final; |
- |
- AffineTransform m_localTransform; |
- |
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || RenderBlockFlow::isOfType(type); } |
-private: |
- virtual void updateFromStyle() override final; |
- |
- virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const override final; |
- |
- virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) override final; |
- |
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
- |
- AffineTransform m_cachedPaintInvalidationTransform; |
-}; |
- |
-} |
-#endif |