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

Unified Diff: Source/core/layout/LayoutFieldset.cpp

Issue 939273002: Rename rendering/RenderFieldset to layout/LayoutFieldset. (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/LayoutFieldset.h ('k') | Source/core/paint/FieldsetPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutFieldset.cpp
diff --git a/Source/core/rendering/RenderFieldset.cpp b/Source/core/layout/LayoutFieldset.cpp
similarity index 93%
rename from Source/core/rendering/RenderFieldset.cpp
rename to Source/core/layout/LayoutFieldset.cpp
index ffafb56d62ccd264f34fe4659e777ffa472394a7..f4638f16b3a25a1d4a265ccafd40b79f2ad9d452 100644
--- a/Source/core/rendering/RenderFieldset.cpp
+++ b/Source/core/layout/LayoutFieldset.cpp
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "core/rendering/RenderFieldset.h"
+#include "core/layout/LayoutFieldset.h"
#include "core/CSSPropertyNames.h"
#include "core/HTMLNames.h"
@@ -38,12 +38,12 @@ namespace blink {
using namespace HTMLNames;
-RenderFieldset::RenderFieldset(Element* element)
+LayoutFieldset::LayoutFieldset(Element* element)
: RenderBlockFlow(element)
{
}
-void RenderFieldset::computePreferredLogicalWidths()
+void LayoutFieldset::computePreferredLogicalWidths()
{
RenderBlockFlow::computePreferredLogicalWidths();
if (RenderBox* legend = findLegend()) {
@@ -62,7 +62,7 @@ void RenderFieldset::computePreferredLogicalWidths()
}
}
-LayoutObject* RenderFieldset::layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope&)
+LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope&)
{
RenderBox* legend = findLegend();
if (legend) {
@@ -126,7 +126,7 @@ LayoutObject* RenderFieldset::layoutSpecialExcludedChild(bool relayoutChildren,
return legend;
}
-RenderBox* RenderFieldset::findLegend(FindLegendOption option) const
+RenderBox* LayoutFieldset::findLegend(FindLegendOption option) const
{
for (LayoutObject* legend = firstChild(); legend; legend = legend->nextSibling()) {
if (option == IgnoreFloatingOrOutOfFlow && legend->isFloatingOrOutOfFlowPositioned())
@@ -138,12 +138,12 @@ RenderBox* RenderFieldset::findLegend(FindLegendOption option) const
return 0;
}
-void RenderFieldset::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
+void LayoutFieldset::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
FieldsetPainter(*this).paintBoxDecorationBackground(paintInfo, paintOffset);
}
-void RenderFieldset::paintMask(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
+void LayoutFieldset::paintMask(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
FieldsetPainter(*this).paintMask(paintInfo, paintOffset);
}
« no previous file with comments | « Source/core/layout/LayoutFieldset.h ('k') | Source/core/paint/FieldsetPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698