Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.h b/third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| index 483c68b2f32f867259525df93f59513c0eec725e..91ddd39480fb9279394a00713fdce0d779c3f8b9 100644 |
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| @@ -13,6 +13,7 @@ namespace blink { |
| class CellSpan; |
| class CollapsedBorderValue; |
| +class LayoutBox; |
| class LayoutPoint; |
| class LayoutTableCell; |
| class LayoutTableSection; |
| @@ -38,6 +39,14 @@ private: |
| // dirtiedRows and dirtiedColumns. |
| const LayoutTableCell* primaryCellToPaint(unsigned row, unsigned column, const CellSpan& dirtiedRows, const CellSpan& dirtiedColumns) const; |
| + enum ItemToPaint { |
| + PaintCollapsedBorders, |
| + PaintChild |
|
Xianzhu
2016/06/03 18:45:41
Nit: Also rename this to PaintSection.
|
| + }; |
| + void paintRepeatingHeaderGroup(const PaintInfo&, const LayoutPoint& paintOffset, const CollapsedBorderValue& currentBorderValue, ItemToPaint); |
| + void paintSection(const PaintInfo&, const LayoutPoint&); |
| + void paintCollapsedSectionBorders(const PaintInfo&, const LayoutPoint&, const CollapsedBorderValue&); |
| + |
| const LayoutTableSection& m_layoutTableSection; |
| }; |