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 dc992c884714cc236470d32928b52bf15c9cc7af..483c68b2f32f867259525df93f59513c0eec725e 100644 |
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.h |
| @@ -6,10 +6,12 @@ |
| #define TableSectionPainter_h |
| #include "core/paint/PaintPhase.h" |
| +#include "core/style/ShadowData.h" |
| #include "wtf/Allocator.h" |
| namespace blink { |
| +class CellSpan; |
| class CollapsedBorderValue; |
| class LayoutPoint; |
| class LayoutTableCell; |
| @@ -26,7 +28,15 @@ public: |
| private: |
| void paintObject(const PaintInfo&, const LayoutPoint&); |
| - void paintCell(const LayoutTableCell&, PaintPhase originalPaintPhase, const PaintInfo&, const LayoutPoint&); |
| + |
| + void paintBackgroundsBehindCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&); |
| + void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&); |
| + |
| + // Returns the primary cell that should be painted for the grid item at (row, column) |
| + // intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we have painted the grid item |
| + // when painting the grid item left to or above (row, column) when painting cells intersecting |
| + // dirtiedRows and dirtiedColumns. |
| + const LayoutTableCell* primaryCellToPaint(unsigned row, unsigned column, const CellSpan& dirtiedRows, const CellSpan& dirtiedColumns) const; |
|
Xianzhu
2016/05/16 21:47:53
Done.
|
| const LayoutTableSection& m_layoutTableSection; |
| }; |