| 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 TableSectionPainter_h | 5 #ifndef TableSectionPainter_h |
| 6 #define TableSectionPainter_h | 6 #define TableSectionPainter_h |
| 7 | 7 |
| 8 #include "core/paint/PaintPhase.h" | 8 #include "core/paint/PaintPhase.h" |
| 9 #include "core/style/ShadowData.h" | 9 #include "core/style/ShadowData.h" |
| 10 #include "platform/wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 const PaintInfo&, | 41 const PaintInfo&, |
| 42 const LayoutPoint&); | 42 const LayoutPoint&); |
| 43 void PaintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&); | 43 void PaintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&); |
| 44 | 44 |
| 45 enum ItemToPaint { kPaintCollapsedBorders, kPaintSection }; | 45 enum ItemToPaint { kPaintCollapsedBorders, kPaintSection }; |
| 46 void PaintRepeatingHeaderGroup( | 46 void PaintRepeatingHeaderGroup( |
| 47 const PaintInfo&, | 47 const PaintInfo&, |
| 48 const LayoutPoint& paint_offset, | 48 const LayoutPoint& paint_offset, |
| 49 const CollapsedBorderValue& current_border_value, | 49 const CollapsedBorderValue& current_border_value, |
| 50 ItemToPaint); | 50 ItemToPaint); |
| 51 void PaintRepeatingFooterGroup( |
| 52 const PaintInfo&, |
| 53 const LayoutPoint& paint_offset, |
| 54 const CollapsedBorderValue& current_border_value, |
| 55 ItemToPaint); |
| 51 void PaintSection(const PaintInfo&, const LayoutPoint&); | 56 void PaintSection(const PaintInfo&, const LayoutPoint&); |
| 52 void PaintCollapsedSectionBorders(const PaintInfo&, | 57 void PaintCollapsedSectionBorders(const PaintInfo&, |
| 53 const LayoutPoint&, | 58 const LayoutPoint&, |
| 54 const CollapsedBorderValue&); | 59 const CollapsedBorderValue&); |
| 55 | 60 |
| 56 const LayoutTableSection& layout_table_section_; | 61 const LayoutTableSection& layout_table_section_; |
| 57 }; | 62 }; |
| 58 | 63 |
| 59 } // namespace blink | 64 } // namespace blink |
| 60 | 65 |
| 61 #endif // TableSectionPainter_h | 66 #endif // TableSectionPainter_h |
| OLD | NEW |