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

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

Issue 602973005: Move painting code from RenderReplica to ReplicaPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix 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/core.gypi ('k') | Source/core/paint/ReplicaPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ReplicaPainter.h
diff --git a/Source/core/paint/ViewPainter.h b/Source/core/paint/ReplicaPainter.h
similarity index 51%
copy from Source/core/paint/ViewPainter.h
copy to Source/core/paint/ReplicaPainter.h
index 7f6ed9a2985f56342ae2e384976a6f5d19aa8e03..8cf57c7ed101ab7049b4a01a48b0211436cd51bc 100644
--- a/Source/core/paint/ViewPainter.h
+++ b/Source/core/paint/ReplicaPainter.h
@@ -2,29 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ViewPainter_h
-#define ViewPainter_h
+#ifndef ReplicaPainter_h
+#define ReplicaPainter_h
namespace blink {
-class LayoutPoint;
struct PaintInfo;
+class LayoutPoint;
class RenderBox;
-class RenderView;
+class RenderReplica;
-class ViewPainter {
+class ReplicaPainter {
public:
- ViewPainter(RenderView& renderView) : m_renderView(renderView) { }
+ ReplicaPainter(RenderReplica& renderReplica) : m_renderReplica(renderReplica) { }
void paint(PaintInfo&, const LayoutPoint& paintOffset);
- void paintBoxDecorationBackground(PaintInfo&);
private:
- bool rootFillsViewportBackground(RenderBox* rootBox) const;
-
- RenderView& m_renderView;
+ RenderReplica& m_renderReplica;
};
} // namespace blink
-#endif // ViewPainter_h
+#endif // ReplicaPainter_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/paint/ReplicaPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698