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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 | 341 |
342 protected: | 342 protected: |
343 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 343 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
344 void ComputePreferredLogicalWidths() override; | 344 void ComputePreferredLogicalWidths() override; |
345 | 345 |
346 void AddLayerHitTestRects(LayerHitTestRects&, | 346 void AddLayerHitTestRects(LayerHitTestRects&, |
347 const PaintLayer* current_composited_layer, | 347 const PaintLayer* current_composited_layer, |
348 const LayoutPoint& layer_offset, | 348 const LayoutPoint& layer_offset, |
349 const LayoutRect& container_rect) const override; | 349 const LayoutRect& container_rect) const override; |
350 | 350 |
| 351 PaintInvalidationReason InvalidatePaint( |
| 352 const PaintInvalidatorContext&) const override; |
| 353 PaintInvalidationReason InvalidatePaint( |
| 354 const PaintInvalidationState&) override; |
| 355 |
351 private: | 356 private: |
352 friend class LayoutTableCellTest; | 357 friend class LayoutTableCellTest; |
353 | 358 |
354 bool IsOfType(LayoutObjectType type) const override { | 359 bool IsOfType(LayoutObjectType type) const override { |
355 return type == kLayoutObjectTableCell || LayoutBlockFlow::IsOfType(type); | 360 return type == kLayoutObjectTableCell || LayoutBlockFlow::IsOfType(type); |
356 } | 361 } |
357 | 362 |
358 void WillBeRemovedFromTree() override; | 363 void WillBeRemovedFromTree() override; |
359 | 364 |
360 void UpdateLogicalWidth() override; | 365 void UpdateLogicalWidth() override; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 return ToLayoutTableCell(FirstChild()); | 463 return ToLayoutTableCell(FirstChild()); |
459 } | 464 } |
460 | 465 |
461 inline LayoutTableCell* LayoutTableRow::LastCell() const { | 466 inline LayoutTableCell* LayoutTableRow::LastCell() const { |
462 return ToLayoutTableCell(LastChild()); | 467 return ToLayoutTableCell(LastChild()); |
463 } | 468 } |
464 | 469 |
465 } // namespace blink | 470 } // namespace blink |
466 | 471 |
467 #endif // LayoutTableCell_h | 472 #endif // LayoutTableCell_h |
OLD | NEW |