Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1846)

Unified Diff: Source/core/rendering/svg/RenderSVGBlock.h

Issue 933953003: Move the remaining rendering/svg/RenderSVG* files to layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/SVGRootPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/paint/SVGRootPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698