| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TableCellPainter_h | 5 #ifndef TableCellPainter_h |
| 6 #define TableCellPainter_h | 6 #define TableCellPainter_h |
| 7 | 7 |
| 8 #include "core/style/CollapsedBorderValue.h" | 8 #include "core/style/CollapsedBorderValue.h" |
| 9 #include "platform/graphics/paint/DisplayItem.h" | 9 #include "platform/graphics/paint/DisplayItem.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 const CollapsedBorderValue&); | 32 const CollapsedBorderValue&); |
| 33 void paintContainerBackgroundBehindCell(const PaintInfo&, | 33 void paintContainerBackgroundBehindCell(const PaintInfo&, |
| 34 const LayoutPoint&, | 34 const LayoutPoint&, |
| 35 const LayoutObject& backgroundObject, | 35 const LayoutObject& backgroundObject, |
| 36 DisplayItem::Type); | 36 DisplayItem::Type); |
| 37 void paintBoxDecorationBackground(const PaintInfo&, | 37 void paintBoxDecorationBackground(const PaintInfo&, |
| 38 const LayoutPoint& paintOffset); | 38 const LayoutPoint& paintOffset); |
| 39 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset); | 39 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset); |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 const DisplayItemClient& displayItemClientForBorders() const; |
| 42 LayoutRect paintRectNotIncludingVisualOverflow( | 43 LayoutRect paintRectNotIncludingVisualOverflow( |
| 43 const LayoutPoint& paintOffset); | 44 const LayoutPoint& paintOffset); |
| 44 void paintBackground(const PaintInfo&, | 45 void paintBackground(const PaintInfo&, |
| 45 const LayoutRect&, | 46 const LayoutRect&, |
| 46 const LayoutObject& backgroundObject); | 47 const LayoutObject& backgroundObject); |
| 47 | 48 |
| 48 const LayoutTableCell& m_layoutTableCell; | 49 const LayoutTableCell& m_layoutTableCell; |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace blink | 52 } // namespace blink |
| 52 | 53 |
| 53 #endif // TableCellPainter_h | 54 #endif // TableCellPainter_h |
| OLD | NEW |