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

Unified Diff: Source/core/layout/svg/LayoutSVGModelObject.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/LayoutSVGInlineText.cpp ('k') | Source/core/layout/svg/LayoutSVGModelObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGModelObject.h
diff --git a/Source/core/rendering/svg/RenderSVGModelObject.h b/Source/core/layout/svg/LayoutSVGModelObject.h
similarity index 93%
rename from Source/core/rendering/svg/RenderSVGModelObject.h
rename to Source/core/layout/svg/LayoutSVGModelObject.h
index e536accd0c423b7e69ccf5d0aed11720db0a5ae8..adb18a2ec122208a0f5f995c8bfa1580ef814fda 100644
--- a/Source/core/rendering/svg/RenderSVGModelObject.h
+++ b/Source/core/layout/svg/LayoutSVGModelObject.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderSVGModelObject_h
-#define RenderSVGModelObject_h
+#ifndef LayoutSVGModelObject_h
+#define LayoutSVGModelObject_h
#include "core/layout/LayoutObject.h"
#include "core/svg/SVGElement.h"
@@ -37,13 +37,13 @@
namespace blink {
// Most renderers in the SVG rendering tree will inherit from this class
-// but not all. (e.g. LayoutSVGForeignObject, RenderSVGBlock) thus methods
+// but not all. (e.g. LayoutSVGForeignObject, LayoutSVGBlock) thus methods
// required by SVG renders need to be declared on LayoutObject, but shared
// logic can go in this class or in SVGLayoutSupport.
-class RenderSVGModelObject : public LayoutObject {
+class LayoutSVGModelObject : public LayoutObject {
public:
- explicit RenderSVGModelObject(SVGElement*);
+ explicit LayoutSVGModelObject(SVGElement*);
virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const override;
@@ -69,7 +69,7 @@ protected:
virtual void willBeDestroyed() override;
private:
- // RenderSVGModelObject subclasses should use element() instead.
+ // LayoutSVGModelObject subclasses should use element() instead.
void node() const = delete;
// This method should never be called, SVG uses a different nodeAtPoint method
« no previous file with comments | « Source/core/layout/svg/LayoutSVGInlineText.cpp ('k') | Source/core/layout/svg/LayoutSVGModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698