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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 } | 467 } |
468 | 468 |
469 enum WhatToMarkAllCells { kMarkDirtyOnly, kMarkDirtyAndNeedsLayout }; | 469 enum WhatToMarkAllCells { kMarkDirtyOnly, kMarkDirtyAndNeedsLayout }; |
470 void MarkAllCellsWidthsDirtyAndOrNeedsLayout(WhatToMarkAllCells); | 470 void MarkAllCellsWidthsDirtyAndOrNeedsLayout(WhatToMarkAllCells); |
471 | 471 |
472 protected: | 472 protected: |
473 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 473 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
474 void SimplifiedNormalFlowLayout() override; | 474 void SimplifiedNormalFlowLayout() override; |
475 bool RecalcChildOverflowAfterStyleChange() override; | 475 bool RecalcChildOverflowAfterStyleChange() override; |
476 void EnsureIsReadyForPaintInvalidation() override; | 476 void EnsureIsReadyForPaintInvalidation() override; |
477 PaintInvalidationReason InvalidatePaint( | 477 PaintInvalidationReason DeprecatedInvalidatePaint( |
478 const PaintInvalidationState&) override; | 478 const PaintInvalidationState&) override; |
479 PaintInvalidationReason InvalidatePaint( | 479 PaintInvalidationReason InvalidatePaint( |
480 const PaintInvalidatorContext&) const override; | 480 const PaintInvalidatorContext&) const override; |
481 | 481 |
482 private: | 482 private: |
483 bool IsOfType(LayoutObjectType type) const override { | 483 bool IsOfType(LayoutObjectType type) const override { |
484 return type == kLayoutObjectTable || LayoutBlock::IsOfType(type); | 484 return type == kLayoutObjectTable || LayoutBlock::IsOfType(type); |
485 } | 485 } |
486 | 486 |
487 void PaintObject(const PaintInfo&, const LayoutPoint&) const override; | 487 void PaintObject(const PaintInfo&, const LayoutPoint&) const override; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 if (first_body_) | 622 if (first_body_) |
623 return first_body_; | 623 return first_body_; |
624 return foot_; | 624 return foot_; |
625 } | 625 } |
626 | 626 |
627 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); | 627 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); |
628 | 628 |
629 } // namespace blink | 629 } // namespace blink |
630 | 630 |
631 #endif // LayoutTable_h | 631 #endif // LayoutTable_h |
OLD | NEW |