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

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

Issue 884483003: Rename/move counter rendering code to layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/frame/FrameView.cpp ('k') | Source/core/layout/CounterNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/CounterNode.h
diff --git a/Source/core/rendering/CounterNode.h b/Source/core/layout/CounterNode.h
similarity index 96%
rename from Source/core/rendering/CounterNode.h
rename to Source/core/layout/CounterNode.h
index 3798800c0f0ff4dd6cf67d20e05e87401ad8b354..1e36f37fdf94c1e9d12eb6a93dc2febab08b48ea 100644
--- a/Source/core/rendering/CounterNode.h
+++ b/Source/core/layout/CounterNode.h
@@ -38,7 +38,7 @@
namespace blink {
class RenderObject;
-class RenderCounter;
+class LayoutCounter;
class CounterNode : public RefCounted<CounterNode> {
public:
@@ -49,8 +49,8 @@ public:
int value() const { return m_value; }
int countInParent() const { return m_countInParent; }
RenderObject& owner() const { return m_owner; }
- void addRenderer(RenderCounter*);
- void removeRenderer(RenderCounter*);
+ void addRenderer(LayoutCounter*);
+ void removeRenderer(LayoutCounter*);
// Invalidates the text in the renderers of this counter, if any.
void resetRenderers();
@@ -82,7 +82,7 @@ private:
int m_value;
int m_countInParent;
RenderObject& m_owner;
- RenderCounter* m_rootRenderer;
+ LayoutCounter* m_rootRenderer;
CounterNode* m_parent;
CounterNode* m_previousSibling;
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/layout/CounterNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698