| Index: Source/core/paint/GridPainter.h
|
| diff --git a/Source/core/paint/ViewPainter.h b/Source/core/paint/GridPainter.h
|
| similarity index 51%
|
| copy from Source/core/paint/ViewPainter.h
|
| copy to Source/core/paint/GridPainter.h
|
| index 7f6ed9a2985f56342ae2e384976a6f5d19aa8e03..3dfd11ea78373121655d18fe91a9a8b44a5140aa 100644
|
| --- a/Source/core/paint/ViewPainter.h
|
| +++ b/Source/core/paint/GridPainter.h
|
| @@ -2,29 +2,29 @@
|
| // 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 GridPainter_h
|
| +#define GridPainter_h
|
|
|
| namespace blink {
|
|
|
| -class LayoutPoint;
|
| struct PaintInfo;
|
| +class LayoutPoint;
|
| class RenderBox;
|
| -class RenderView;
|
| +class RenderGrid;
|
|
|
| -class ViewPainter {
|
| +class GridPainter {
|
| public:
|
| - ViewPainter(RenderView& renderView) : m_renderView(renderView) { }
|
| + GridPainter(RenderGrid& renderGrid) : m_renderGrid(renderGrid) { }
|
| +
|
| + void paintChildren(PaintInfo&, const LayoutPoint&);
|
| + void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&);
|
|
|
| void paint(PaintInfo&, const LayoutPoint& paintOffset);
|
| - void paintBoxDecorationBackground(PaintInfo&);
|
|
|
| private:
|
| - bool rootFillsViewportBackground(RenderBox* rootBox) const;
|
| -
|
| - RenderView& m_renderView;
|
| + RenderGrid& m_renderGrid;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // ViewPainter_h
|
| +#endif // GridPainter_h
|
|
|