OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. |
8 * All rights reserved. | 8 * All rights reserved. |
9 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 9 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
10 * | 10 * |
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1716 return Style()->BorderEnd(); | 1716 return Style()->BorderEnd(); |
1717 | 1717 |
1718 return Style()->BorderStart(); | 1718 return Style()->BorderStart(); |
1719 } | 1719 } |
1720 | 1720 |
1721 void LayoutTable::EnsureIsReadyForPaintInvalidation() { | 1721 void LayoutTable::EnsureIsReadyForPaintInvalidation() { |
1722 LayoutBlock::EnsureIsReadyForPaintInvalidation(); | 1722 LayoutBlock::EnsureIsReadyForPaintInvalidation(); |
1723 RecalcCollapsedBordersIfNeeded(); | 1723 RecalcCollapsedBordersIfNeeded(); |
1724 } | 1724 } |
1725 | 1725 |
1726 PaintInvalidationReason LayoutTable::InvalidatePaint( | 1726 PaintInvalidationReason LayoutTable::DeprecatedInvalidatePaint( |
1727 const PaintInvalidationState& paint_invalidation_state) { | 1727 const PaintInvalidationState& paint_invalidation_state) { |
1728 if (CollapseBorders() && !collapsed_borders_.IsEmpty()) | 1728 if (CollapseBorders() && !collapsed_borders_.IsEmpty()) |
1729 paint_invalidation_state.PaintingLayer() | 1729 paint_invalidation_state.PaintingLayer() |
1730 .SetNeedsPaintPhaseDescendantBlockBackgrounds(); | 1730 .SetNeedsPaintPhaseDescendantBlockBackgrounds(); |
1731 | 1731 |
1732 return LayoutBlock::InvalidatePaint(paint_invalidation_state); | 1732 return LayoutBlock::DeprecatedInvalidatePaint(paint_invalidation_state); |
1733 } | 1733 } |
1734 | 1734 |
1735 PaintInvalidationReason LayoutTable::InvalidatePaint( | 1735 PaintInvalidationReason LayoutTable::InvalidatePaint( |
1736 const PaintInvalidatorContext& context) const { | 1736 const PaintInvalidatorContext& context) const { |
1737 return TablePaintInvalidator(*this, context).InvalidatePaint(); | 1737 return TablePaintInvalidator(*this, context).InvalidatePaint(); |
1738 } | 1738 } |
1739 | 1739 |
1740 LayoutUnit LayoutTable::PaddingTop() const { | 1740 LayoutUnit LayoutTable::PaddingTop() const { |
1741 if (CollapseBorders()) | 1741 if (CollapseBorders()) |
1742 return LayoutUnit(); | 1742 return LayoutUnit(); |
(...skipping 16 matching lines...) Expand all Loading... |
1759 } | 1759 } |
1760 | 1760 |
1761 LayoutUnit LayoutTable::PaddingRight() const { | 1761 LayoutUnit LayoutTable::PaddingRight() const { |
1762 if (CollapseBorders()) | 1762 if (CollapseBorders()) |
1763 return LayoutUnit(); | 1763 return LayoutUnit(); |
1764 | 1764 |
1765 return LayoutBlock::PaddingRight(); | 1765 return LayoutBlock::PaddingRight(); |
1766 } | 1766 } |
1767 | 1767 |
1768 } // namespace blink | 1768 } // namespace blink |
OLD | NEW |