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

Unified Diff: Source/core/paint/ListMarkerPainter.h

Issue 590413005: Move paint code from RenderListMarker/RenderListItem to ListMarkerPainter/ListItemPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/paint/ListItemPainter.cpp ('k') | Source/core/paint/ListMarkerPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ListMarkerPainter.h
diff --git a/Source/core/paint/DetailsMarkerPainter.h b/Source/core/paint/ListMarkerPainter.h
similarity index 57%
copy from Source/core/paint/DetailsMarkerPainter.h
copy to Source/core/paint/ListMarkerPainter.h
index e801a1fef62b993d53c0038d590bc6f151981174..27622139ab716b0ae3c787babe77f3061fb05e6b 100644
--- a/Source/core/paint/DetailsMarkerPainter.h
+++ b/Source/core/paint/ListMarkerPainter.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DetailsMarkerPainter_h
-#define DetailsMarkerPainter_h
+#ifndef ListMarkerPainter_h
+#define ListMarkerPainter_h
namespace blink {
struct PaintInfo;
class Path;
class LayoutPoint;
-class RenderDetailsMarker;
+class RenderListMarker;
-class DetailsMarkerPainter {
+class ListMarkerPainter {
public:
- DetailsMarkerPainter(RenderDetailsMarker& renderDetailsMarker) : m_renderDetailsMarker(renderDetailsMarker) { }
+ ListMarkerPainter(RenderListMarker& renderListMarker) : m_renderListMarker(renderListMarker) { }
void paint(PaintInfo&, const LayoutPoint& paintOffset);
@@ -22,9 +22,9 @@ private:
Path getCanonicalPath() const;
Path getPath(const LayoutPoint& origin) const;
- RenderDetailsMarker& m_renderDetailsMarker;
+ RenderListMarker& m_renderListMarker;
};
} // namespace blink
-#endif // DetailsMarkerPainter_h
+#endif // ListMarkerPainter_h
« no previous file with comments | « Source/core/paint/ListItemPainter.cpp ('k') | Source/core/paint/ListMarkerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698