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

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

Issue 931633003: Move and rename RenderBR to LayoutBR. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/html/HTMLBRElement.cpp ('k') | Source/core/layout/LayoutBR.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBR.h
diff --git a/Source/core/rendering/RenderBR.h b/Source/core/layout/LayoutBR.h
similarity index 88%
rename from Source/core/rendering/RenderBR.h
rename to Source/core/layout/LayoutBR.h
index 92c00d2494e8bad07fd7724b2c278070adcc734c..ef61b8697b21c760ab6b44d00104cacfec39dd00 100644
--- a/Source/core/rendering/RenderBR.h
+++ b/Source/core/layout/LayoutBR.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef RenderBR_h
-#define RenderBR_h
+#ifndef LayoutBR_h
+#define LayoutBR_h
#include "core/rendering/RenderText.h"
@@ -29,12 +29,12 @@
*/
namespace blink {
-class RenderBR final : public RenderText {
+class LayoutBR final : public RenderText {
public:
- explicit RenderBR(Node*);
- virtual ~RenderBR();
+ explicit LayoutBR(Node*);
+ virtual ~LayoutBR();
- virtual const char* renderName() const override { return "RenderBR"; }
+ virtual const char* renderName() const override { return "LayoutBR"; }
virtual LayoutRect selectionRectForPaintInvalidation(const LayoutLayerModelObject* /*paintInvalidationContainer*/) const override { return LayoutRect(); }
@@ -55,8 +55,8 @@ protected:
virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) override;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderBR, isBR());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBR, isBR());
} // namespace blink
-#endif // RenderBR_h
+#endif // LayoutBR_h
« no previous file with comments | « Source/core/html/HTMLBRElement.cpp ('k') | Source/core/layout/LayoutBR.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698