| 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 22 matching lines...) Expand all Loading... |
| 33 const CollapsedBorderValue&); | 33 const CollapsedBorderValue&); |
| 34 void paintContainerBackgroundBehindCell(const PaintInfo&, | 34 void paintContainerBackgroundBehindCell(const PaintInfo&, |
| 35 const LayoutPoint&, | 35 const LayoutPoint&, |
| 36 const LayoutObject& backgroundObject, | 36 const LayoutObject& backgroundObject, |
| 37 DisplayItem::Type); | 37 DisplayItem::Type); |
| 38 void paintBoxDecorationBackground(const PaintInfo&, | 38 void paintBoxDecorationBackground(const PaintInfo&, |
| 39 const LayoutPoint& paintOffset); | 39 const LayoutPoint& paintOffset); |
| 40 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset); | 40 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 const DisplayItemClient& displayItemClientForBorders() const; |
| 43 LayoutRect paintRectNotIncludingVisualOverflow( | 44 LayoutRect paintRectNotIncludingVisualOverflow( |
| 44 const LayoutPoint& paintOffset); | 45 const LayoutPoint& paintOffset); |
| 45 void paintBackground(const PaintInfo&, | 46 void paintBackground(const PaintInfo&, |
| 46 const LayoutRect&, | 47 const LayoutRect&, |
| 47 const LayoutObject& backgroundObject); | 48 const LayoutObject& backgroundObject); |
| 48 | 49 |
| 49 const LayoutTableCell& m_layoutTableCell; | 50 const LayoutTableCell& m_layoutTableCell; |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace blink | 53 } // namespace blink |
| 53 | 54 |
| 54 #endif // TableCellPainter_h | 55 #endif // TableCellPainter_h |
| OLD | NEW |