| 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, 2009, 2010 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 } | 466 } |
| 467 | 467 |
| 468 enum WhatToMarkAllCells { kMarkDirtyOnly, kMarkDirtyAndNeedsLayout }; | 468 enum WhatToMarkAllCells { kMarkDirtyOnly, kMarkDirtyAndNeedsLayout }; |
| 469 void MarkAllCellsWidthsDirtyAndOrNeedsLayout(WhatToMarkAllCells); | 469 void MarkAllCellsWidthsDirtyAndOrNeedsLayout(WhatToMarkAllCells); |
| 470 | 470 |
| 471 protected: | 471 protected: |
| 472 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 472 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
| 473 void SimplifiedNormalFlowLayout() override; | 473 void SimplifiedNormalFlowLayout() override; |
| 474 bool RecalcChildOverflowAfterStyleChange() override; | 474 bool RecalcChildOverflowAfterStyleChange() override; |
| 475 void EnsureIsReadyForPaintInvalidation() override; | 475 void EnsureIsReadyForPaintInvalidation() override; |
| 476 PaintInvalidationReason InvalidatePaintIfNeeded( | 476 PaintInvalidationReason InvalidatePaint( |
| 477 const PaintInvalidationState&) override; | 477 const PaintInvalidationState&) override; |
| 478 PaintInvalidationReason InvalidatePaintIfNeeded( | 478 PaintInvalidationReason InvalidatePaint( |
| 479 const PaintInvalidatorContext&) const override; | 479 const PaintInvalidatorContext&) const override; |
| 480 | 480 |
| 481 private: | 481 private: |
| 482 bool IsOfType(LayoutObjectType type) const override { | 482 bool IsOfType(LayoutObjectType type) const override { |
| 483 return type == kLayoutObjectTable || LayoutBlock::IsOfType(type); | 483 return type == kLayoutObjectTable || LayoutBlock::IsOfType(type); |
| 484 } | 484 } |
| 485 | 485 |
| 486 void PaintObject(const PaintInfo&, const LayoutPoint&) const override; | 486 void PaintObject(const PaintInfo&, const LayoutPoint&) const override; |
| 487 void UpdateLayout() override; | 487 void UpdateLayout() override; |
| 488 void ComputeIntrinsicLogicalWidths(LayoutUnit& min_width, | 488 void ComputeIntrinsicLogicalWidths(LayoutUnit& min_width, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 if (first_body_) | 620 if (first_body_) |
| 621 return first_body_; | 621 return first_body_; |
| 622 return foot_; | 622 return foot_; |
| 623 } | 623 } |
| 624 | 624 |
| 625 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); | 625 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); |
| 626 | 626 |
| 627 } // namespace blink | 627 } // namespace blink |
| 628 | 628 |
| 629 #endif // LayoutTable_h | 629 #endif // LayoutTable_h |
| OLD | NEW |