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

Unified Diff: Source/core/layout/svg/LayoutSVGRoot.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/LayoutSVGModelObject.cpp ('k') | Source/core/layout/svg/LayoutSVGRoot.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGRoot.h
diff --git a/Source/core/rendering/svg/RenderSVGRoot.h b/Source/core/layout/svg/LayoutSVGRoot.h
similarity index 93%
rename from Source/core/rendering/svg/RenderSVGRoot.h
rename to Source/core/layout/svg/LayoutSVGRoot.h
index a2936cd3454cf87d003526ad23f5d8e12d85130d..7afb884c28485f46a318b633d1efc50f7641b992 100644
--- a/Source/core/rendering/svg/RenderSVGRoot.h
+++ b/Source/core/layout/svg/LayoutSVGRoot.h
@@ -20,8 +20,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef RenderSVGRoot_h
-#define RenderSVGRoot_h
+#ifndef LayoutSVGRoot_h
+#define LayoutSVGRoot_h
#include "core/layout/LayoutReplaced.h"
@@ -29,10 +29,10 @@ namespace blink {
class SVGElement;
-class RenderSVGRoot final : public LayoutReplaced {
+class LayoutSVGRoot final : public LayoutReplaced {
public:
- explicit RenderSVGRoot(SVGElement*);
- virtual ~RenderSVGRoot();
+ explicit LayoutSVGRoot(SVGElement*);
+ virtual ~LayoutSVGRoot();
bool isEmbeddedThroughSVGImage() const;
bool isEmbeddedThroughFrameContainingSVGDocument() const;
@@ -40,7 +40,7 @@ public:
virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const override;
virtual void mapRectToPaintInvalidationBacking(const LayoutLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const override;
- // If you have a RenderSVGRoot, use firstChild or lastChild instead.
+ // If you have a LayoutSVGRoot, use firstChild or lastChild instead.
void slowFirstChild() const = delete;
void slowLastChild() const = delete;
@@ -75,7 +75,7 @@ private:
virtual LayoutObjectChildList* virtualChildren() override { return children(); }
virtual const LayoutObjectChildList* virtualChildren() const override { return children(); }
- virtual const char* renderName() const override { return "RenderSVGRoot"; }
+ virtual const char* renderName() const override { return "LayoutSVGRoot"; }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGRoot || LayoutReplaced::isOfType(type); }
virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
@@ -128,8 +128,8 @@ private:
mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGRoot, isSVGRoot());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot());
} // namespace blink
-#endif // RenderSVGRoot_h
+#endif // LayoutSVGRoot_h
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.cpp ('k') | Source/core/layout/svg/LayoutSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698