blob: 8791f3de8e65d968b98914b57f7b0d18b89fd38e [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TableSectionPainter_h
#define TableSectionPainter_h
namespace blink {
class LayoutPoint;
struct PaintInfo;
class RenderTableCell;
class RenderTableSection;
class TableSectionPainter {
public:
TableSectionPainter(RenderTableSection& renderTableSection) : m_renderTableSection(renderTableSection) { }
void paint(PaintInfo&, const LayoutPoint&);
void paintObject(PaintInfo&, const LayoutPoint&);
private:
void paintCell(RenderTableCell*, PaintInfo&, const LayoutPoint&);
RenderTableSection& m_renderTableSection;
};
} // namespace blink
#endif // TableSectionPainter_h