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

Unified Diff: Source/core/layout/svg/LayoutSVGEllipse.h

Issue 927583002: Moving RenderSVG* files from rendering/ 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/layout/style/SVGLayoutStyle.cpp ('k') | Source/core/layout/svg/LayoutSVGEllipse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGEllipse.h
diff --git a/Source/core/rendering/svg/RenderSVGEllipse.h b/Source/core/layout/svg/LayoutSVGEllipse.h
similarity index 83%
rename from Source/core/rendering/svg/RenderSVGEllipse.h
rename to Source/core/layout/svg/LayoutSVGEllipse.h
index af9d84755c314d29c9e940dfb014accd4f39d5d7..9318ab781f8ed5aea81f02e0c071c6c82d90f5eb 100644
--- a/Source/core/rendering/svg/RenderSVGEllipse.h
+++ b/Source/core/layout/svg/LayoutSVGEllipse.h
@@ -24,25 +24,25 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderSVGEllipse_h
-#define RenderSVGEllipse_h
+#ifndef LayoutSVGEllipse_h
+#define LayoutSVGEllipse_h
-#include "core/rendering/svg/RenderSVGShape.h"
+#include "core/layout/svg/LayoutSVGShape.h"
namespace blink {
-class RenderSVGEllipse final : public RenderSVGShape {
+class LayoutSVGEllipse final : public LayoutSVGShape {
public:
- explicit RenderSVGEllipse(SVGGraphicsElement*);
- virtual ~RenderSVGEllipse();
+ explicit LayoutSVGEllipse(SVGGraphicsElement*);
+ virtual ~LayoutSVGEllipse();
virtual ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : EllipseGeometryFastPath; }
private:
- virtual const char* renderName() const override { return "RenderSVGEllipse"; }
+ virtual const char* renderName() const override { return "LayoutSVGEllipse"; }
virtual void updateShapeFromElement() override;
- virtual bool isShapeEmpty() const override { return m_usePathFallback ? RenderSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
+ virtual bool isShapeEmpty() const override { return m_usePathFallback ? LayoutSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
virtual bool shapeDependentStrokeContains(const FloatPoint&) override;
virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const override;
void calculateRadiiAndCenter();
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.cpp ('k') | Source/core/layout/svg/LayoutSVGEllipse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698