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

Unified Diff: Source/core/layout/LayoutReplaced.h

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (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/LayoutObjectChildList.cpp ('k') | Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutReplaced.h
diff --git a/Source/core/layout/LayoutReplaced.h b/Source/core/layout/LayoutReplaced.h
index 43749ae6f3d546c7e4c40a93fcf2c605d85b246a..49ce512cecef4d693fc79cbc591a03a54d10df80 100644
--- a/Source/core/layout/LayoutReplaced.h
+++ b/Source/core/layout/LayoutReplaced.h
@@ -22,11 +22,11 @@
#ifndef LayoutReplaced_h
#define LayoutReplaced_h
-#include "core/rendering/RenderBox.h"
+#include "core/layout/LayoutBox.h"
namespace blink {
-class LayoutReplaced : public RenderBox {
+class LayoutReplaced : public LayoutBox {
public:
LayoutReplaced(Element*);
LayoutReplaced(Element*, const LayoutSize& intrinsicSize);
@@ -74,7 +74,7 @@ protected:
void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
virtual void intrinsicSizeChanged();
- virtual RenderBox* embeddedContentBox() const { return 0; }
+ virtual LayoutBox* embeddedContentBox() const { return 0; }
private:
virtual void computePreferredLogicalWidths() override final;
@@ -86,7 +86,7 @@ private:
virtual bool canBeSelectionLeaf() const override { return true; }
virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const override final;
- void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constrainedSize, double& intrinsicRatio) const;
+ void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constrainedSize, double& intrinsicRatio) const;
mutable LayoutSize m_intrinsicSize;
};
« no previous file with comments | « Source/core/layout/LayoutObjectChildList.cpp ('k') | Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698