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

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

Issue 729823002: Move painting code from RenderFieldset to FieldsetPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/core.gypi ('k') | Source/core/paint/FieldsetPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FieldsetPainter.h
diff --git a/Source/core/paint/TablePainter.h b/Source/core/paint/FieldsetPainter.h
similarity index 54%
copy from Source/core/paint/TablePainter.h
copy to Source/core/paint/FieldsetPainter.h
index 7fe9a59a5948ca2f847c0702b9686a8eb25496de..6de41db0c921eda40ec9b68b9a64d03f51075d78 100644
--- a/Source/core/paint/TablePainter.h
+++ b/Source/core/paint/FieldsetPainter.h
@@ -2,28 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TablePainter_h
-#define TablePainter_h
+#ifndef FieldsetPainter_h
+#define FieldsetPainter_h
namespace blink {
-class LayoutPoint;
struct PaintInfo;
-class RenderTable;
+class LayoutPoint;
+class RenderFieldset;
-class TablePainter {
+class FieldsetPainter {
public:
- TablePainter(RenderTable& renderTable) : m_renderTable(renderTable) { }
+ FieldsetPainter(RenderFieldset& renderFieldset) : m_renderFieldset(renderFieldset) { }
- void paint(PaintInfo&, const LayoutPoint&);
- void paintObject(PaintInfo&, const LayoutPoint&);
void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&);
void paintMask(PaintInfo&, const LayoutPoint&);
private:
- RenderTable& m_renderTable;
+ RenderFieldset& m_renderFieldset;
};
} // namespace blink
-#endif // TablePainter_h
+#endif // FieldsetPainter_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/paint/FieldsetPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698