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

Unified Diff: Source/core/layout/LayoutCounter.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/layout/CounterNode.cpp ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutCounter.h
diff --git a/Source/core/rendering/RenderCounter.h b/Source/core/layout/LayoutCounter.h
similarity index 88%
rename from Source/core/rendering/RenderCounter.h
rename to Source/core/layout/LayoutCounter.h
index 5dc3049b2e46218eecc696728c462c84da8998a6..c5b8bbe66c610499c1952f624496323cf0335dd4 100644
--- a/Source/core/rendering/RenderCounter.h
+++ b/Source/core/layout/LayoutCounter.h
@@ -19,8 +19,8 @@
*
*/
-#ifndef RenderCounter_h
-#define RenderCounter_h
+#ifndef LayoutCounter_h
+#define LayoutCounter_h
#include "core/rendering/RenderText.h"
#include "core/rendering/style/CounterContent.h"
@@ -29,10 +29,10 @@ namespace blink {
class CounterNode;
-class RenderCounter final : public RenderText {
+class LayoutCounter final : public RenderText {
public:
- RenderCounter(Document*, const CounterContent&);
- virtual ~RenderCounter();
+ LayoutCounter(Document*, const CounterContent&);
+ virtual ~LayoutCounter();
virtual void destroy() override;
static void destroyCounterNodes(RenderObject&);
@@ -57,11 +57,11 @@ private:
CounterContent m_counter;
CounterNode* m_counterNode;
- RenderCounter* m_nextForSameCounter;
+ LayoutCounter* m_nextForSameCounter;
friend class CounterNode;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderCounter, isCounter());
+DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutCounter, isCounter());
} // namespace blink
@@ -70,4 +70,4 @@ DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderCounter, isCounter());
void showCounterRendererTree(const blink::RenderObject*, const char* counterName = 0);
#endif
-#endif // RenderCounter_h
+#endif // LayoutCounter_h
« no previous file with comments | « Source/core/layout/CounterNode.cpp ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698