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

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

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (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
Index: Source/core/paint/PartPainter.h
diff --git a/Source/core/paint/SVGRootPainter.h b/Source/core/paint/PartPainter.h
similarity index 54%
copy from Source/core/paint/SVGRootPainter.h
copy to Source/core/paint/PartPainter.h
index 0c169dec2454c2df91701c918cf5e37631638981..51fa38beb9c01bed18fa9e51ee3c59cc35287558 100644
--- a/Source/core/paint/SVGRootPainter.h
+++ b/Source/core/paint/PartPainter.h
@@ -2,25 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SVGRootPainter_h
-#define SVGRootPainter_h
+#ifndef PartPainter_h
+#define PartPainter_h
namespace blink {
-struct PaintInfo;
class LayoutPoint;
-class RenderSVGRoot;
+struct PaintInfo;
+class RenderPart;
-class SVGRootPainter {
+class PartPainter {
chrishtr 2014/11/01 23:44:10 Like Levi said, please split off the PartPainter r
trchen 2014/11/02 10:36:46 Acknowledged.
public:
- SVGRootPainter(RenderSVGRoot& renderSVGRoot) : m_renderSVGRoot(renderSVGRoot) { }
+ PartPainter(RenderPart& renderPart) : m_renderPart(renderPart) { }
void paint(PaintInfo&, const LayoutPoint&);
private:
- RenderSVGRoot& m_renderSVGRoot;
+ void paintContents(PaintInfo&, const LayoutPoint&);
+
+ RenderPart& m_renderPart;
};
} // namespace blink
-#endif // SVGRootPainter_h
+#endif // PartPainter_h

Powered by Google App Engine
This is Rietveld 408576698