| 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, 2009, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. |
| 8 * All rights reserved. | 8 * All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 | 343 |
| 344 LayoutRect debugRect() const override; | 344 LayoutRect debugRect() const override; |
| 345 | 345 |
| 346 void adjustChildDebugRect(LayoutRect&) const override; | 346 void adjustChildDebugRect(LayoutRect&) const override; |
| 347 | 347 |
| 348 // A table cell's location is relative to its containing section. | 348 // A table cell's location is relative to its containing section. |
| 349 LayoutBox* locationContainer() const override { return section(); } | 349 LayoutBox* locationContainer() const override { return section(); } |
| 350 | 350 |
| 351 void ensureIsReadyForPaintInvalidation() override; | 351 void ensureIsReadyForPaintInvalidation() override; |
| 352 | 352 |
| 353 bool hasLineIfEmpty() const override; |
| 354 |
| 353 protected: | 355 protected: |
| 354 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 356 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
| 355 void computePreferredLogicalWidths() override; | 357 void computePreferredLogicalWidths() override; |
| 356 | 358 |
| 357 void addLayerHitTestRects(LayerHitTestRects&, | 359 void addLayerHitTestRects(LayerHitTestRects&, |
| 358 const PaintLayer* currentCompositedLayer, | 360 const PaintLayer* currentCompositedLayer, |
| 359 const LayoutPoint& layerOffset, | 361 const LayoutPoint& layerOffset, |
| 360 const LayoutRect& containerRect) const override; | 362 const LayoutRect& containerRect) const override; |
| 361 | 363 |
| 362 private: | 364 private: |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 return toLayoutTableCell(firstChild()); | 469 return toLayoutTableCell(firstChild()); |
| 468 } | 470 } |
| 469 | 471 |
| 470 inline LayoutTableCell* LayoutTableRow::lastCell() const { | 472 inline LayoutTableCell* LayoutTableRow::lastCell() const { |
| 471 return toLayoutTableCell(lastChild()); | 473 return toLayoutTableCell(lastChild()); |
| 472 } | 474 } |
| 473 | 475 |
| 474 } // namespace blink | 476 } // namespace blink |
| 475 | 477 |
| 476 #endif // LayoutTableCell_h | 478 #endif // LayoutTableCell_h |
| OLD | NEW |