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

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

Issue 948063002: Move rendering/RenderMeter to layout/LayoutMeter. (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/LayoutMeter.h ('k') | Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMeter.cpp
diff --git a/Source/core/rendering/RenderMeter.cpp b/Source/core/layout/LayoutMeter.cpp
similarity index 87%
rename from Source/core/rendering/RenderMeter.cpp
rename to Source/core/layout/LayoutMeter.cpp
index cf18549a1e9849b263e3057db30a80a1ba01c4a6..1992a662ee46b50a27cc3e0ec3a1a0d37c7b885f 100644
--- a/Source/core/rendering/RenderMeter.cpp
+++ b/Source/core/layout/LayoutMeter.cpp
@@ -20,7 +20,7 @@
#include "config.h"
-#include "core/rendering/RenderMeter.h"
+#include "core/layout/LayoutMeter.h"
#include "core/html/HTMLMeterElement.h"
#include "core/layout/LayoutTheme.h"
@@ -29,16 +29,16 @@ namespace blink {
using namespace HTMLNames;
-RenderMeter::RenderMeter(HTMLElement* element)
+LayoutMeter::LayoutMeter(HTMLElement* element)
: RenderBlockFlow(element)
{
}
-RenderMeter::~RenderMeter()
+LayoutMeter::~LayoutMeter()
{
}
-HTMLMeterElement* RenderMeter::meterElement() const
+HTMLMeterElement* LayoutMeter::meterElement() const
{
ASSERT(node());
@@ -49,7 +49,7 @@ HTMLMeterElement* RenderMeter::meterElement() const
return toHTMLMeterElement(node()->shadowHost());
}
-void RenderMeter::updateLogicalWidth()
+void LayoutMeter::updateLogicalWidth()
{
RenderBox::updateLogicalWidth();
@@ -57,7 +57,7 @@ void RenderMeter::updateLogicalWidth()
setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height());
}
-void RenderMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
+void LayoutMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
{
RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues);
@@ -70,7 +70,7 @@ void RenderMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logi
computedValues.m_extent = isHorizontalWritingMode() ? frameSize.height() : frameSize.width();
}
-void RenderMeter::updateFromElement()
+void LayoutMeter::updateFromElement()
{
setShouldDoFullPaintInvalidation();
}
« no previous file with comments | « Source/core/layout/LayoutMeter.h ('k') | Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698