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

Unified Diff: Source/core/layout/svg/LayoutSVGGradientStop.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/layout/svg/LayoutSVGForeignObject.cpp ('k') | Source/core/layout/svg/LayoutSVGGradientStop.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGGradientStop.h
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.h b/Source/core/layout/svg/LayoutSVGGradientStop.h
similarity index 83%
rename from Source/core/rendering/svg/RenderSVGGradientStop.h
rename to Source/core/layout/svg/LayoutSVGGradientStop.h
index b193c7c9ff4269f1cf2c1e2cf890edf7242b777b..d98354634c4e10b90b46833d1e80e53f0223b392 100644
--- a/Source/core/rendering/svg/RenderSVGGradientStop.h
+++ b/Source/core/layout/svg/LayoutSVGGradientStop.h
@@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef RenderSVGGradientStop_h
-#define RenderSVGGradientStop_h
+#ifndef LayoutSVGGradientStop_h
+#define LayoutSVGGradientStop_h
#include "core/layout/LayoutObject.h"
@@ -29,12 +29,12 @@ class SVGGradientElement;
class SVGStopElement;
// This class exists mostly so we can hear about gradient stop style changes
-class RenderSVGGradientStop final : public LayoutObject {
+class LayoutSVGGradientStop final : public LayoutObject {
public:
- explicit RenderSVGGradientStop(SVGStopElement*);
- virtual ~RenderSVGGradientStop();
+ explicit LayoutSVGGradientStop(SVGStopElement*);
+ virtual ~LayoutSVGGradientStop();
- virtual const char* renderName() const override { return "RenderSVGGradientStop"; }
+ virtual const char* renderName() const override { return "LayoutSVGGradientStop"; }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGGradientStop || LayoutObject::isOfType(type); }
virtual void layout() override;
@@ -54,8 +54,8 @@ private:
SVGGradientElement* gradientElement() const;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGGradientStop, isSVGGradientStop());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGGradientStop, isSVGGradientStop());
}
-#endif // RenderSVGGradientStop_h
+#endif // LayoutSVGGradientStop_h
« no previous file with comments | « Source/core/layout/svg/LayoutSVGForeignObject.cpp ('k') | Source/core/layout/svg/LayoutSVGGradientStop.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698