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

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

Issue 930833003: Move and rename RenderReplaced and RenderHTMLCanvas to Layout{Replaced,HTMLCanvas}. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No need to declare renderName() at all. 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/LayoutImage.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/rendering/RenderReplaced.h b/Source/core/layout/LayoutReplaced.h
similarity index 92%
rename from Source/core/rendering/RenderReplaced.h
rename to Source/core/layout/LayoutReplaced.h
index 9ea015245951ffb5252183690cd7a04c51b19214..ff935d73e9af330af2153eec2890357e14882a44 100644
--- a/Source/core/rendering/RenderReplaced.h
+++ b/Source/core/layout/LayoutReplaced.h
@@ -19,18 +19,18 @@
*
*/
-#ifndef RenderReplaced_h
-#define RenderReplaced_h
+#ifndef LayoutReplaced_h
+#define LayoutReplaced_h
#include "core/rendering/RenderBox.h"
namespace blink {
-class RenderReplaced : public RenderBox {
+class LayoutReplaced : public RenderBox {
public:
- RenderReplaced(Element*);
- RenderReplaced(Element*, const LayoutSize& intrinsicSize);
- virtual ~RenderReplaced();
+ LayoutReplaced(Element*);
+ LayoutReplaced(Element*, const LayoutSize& intrinsicSize);
+ virtual ~LayoutReplaced();
virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
virtual LayoutUnit computeReplacedLogicalHeight() const override;
@@ -77,8 +77,6 @@ protected:
virtual RenderBox* embeddedContentBox() const { return 0; }
private:
- virtual const char* renderName() const override { return "RenderReplaced"; }
-
virtual void computePreferredLogicalWidths() override final;
virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
« no previous file with comments | « Source/core/layout/LayoutImage.cpp ('k') | Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698