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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 347 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
348 void ComputePreferredLogicalWidths() override; | 348 void ComputePreferredLogicalWidths() override; |
349 | 349 |
350 void AddLayerHitTestRects(LayerHitTestRects&, | 350 void AddLayerHitTestRects(LayerHitTestRects&, |
351 const PaintLayer* current_composited_layer, | 351 const PaintLayer* current_composited_layer, |
352 const LayoutPoint& layer_offset, | 352 const LayoutPoint& layer_offset, |
353 const LayoutRect& container_rect) const override; | 353 const LayoutRect& container_rect) const override; |
354 | 354 |
355 PaintInvalidationReason InvalidatePaint( | 355 PaintInvalidationReason InvalidatePaint( |
356 const PaintInvalidatorContext&) const override; | 356 const PaintInvalidatorContext&) const override; |
357 PaintInvalidationReason InvalidatePaint( | |
358 const PaintInvalidationState&) override; | |
359 | 357 |
360 private: | 358 private: |
361 friend class LayoutTableCellTest; | 359 friend class LayoutTableCellTest; |
362 | 360 |
363 bool IsOfType(LayoutObjectType type) const override { | 361 bool IsOfType(LayoutObjectType type) const override { |
364 return type == kLayoutObjectTableCell || LayoutBlockFlow::IsOfType(type); | 362 return type == kLayoutObjectTableCell || LayoutBlockFlow::IsOfType(type); |
365 } | 363 } |
366 | 364 |
367 void WillBeRemovedFromTree() override; | 365 void WillBeRemovedFromTree() override; |
368 | 366 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 return ToLayoutTableCell(FirstChild()); | 471 return ToLayoutTableCell(FirstChild()); |
474 } | 472 } |
475 | 473 |
476 inline LayoutTableCell* LayoutTableRow::LastCell() const { | 474 inline LayoutTableCell* LayoutTableRow::LastCell() const { |
477 return ToLayoutTableCell(LastChild()); | 475 return ToLayoutTableCell(LastChild()); |
478 } | 476 } |
479 | 477 |
480 } // namespace blink | 478 } // namespace blink |
481 | 479 |
482 #endif // LayoutTableCell_h | 480 #endif // LayoutTableCell_h |
OLD | NEW |