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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 if (needs_section_recalc_) | 424 if (needs_section_recalc_) |
425 RecalcSections(); | 425 RecalcSections(); |
426 } | 426 } |
427 | 427 |
428 static LayoutTable* CreateAnonymousWithParent(const LayoutObject*); | 428 static LayoutTable* CreateAnonymousWithParent(const LayoutObject*); |
429 LayoutBox* CreateAnonymousBoxWithSameTypeAs( | 429 LayoutBox* CreateAnonymousBoxWithSameTypeAs( |
430 const LayoutObject* parent) const override { | 430 const LayoutObject* parent) const override { |
431 return CreateAnonymousWithParent(parent); | 431 return CreateAnonymousWithParent(parent); |
432 } | 432 } |
433 | 433 |
434 const BorderValue& TableStartBorderAdjoiningCell( | 434 BorderValue TableStartBorderAdjoiningCell(const LayoutTableCell*) const; |
435 const LayoutTableCell*) const; | 435 BorderValue TableEndBorderAdjoiningCell(const LayoutTableCell*) const; |
436 const BorderValue& TableEndBorderAdjoiningCell(const LayoutTableCell*) const; | |
437 | 436 |
438 void AddCaption(const LayoutTableCaption*); | 437 void AddCaption(const LayoutTableCaption*); |
439 void RemoveCaption(const LayoutTableCaption*); | 438 void RemoveCaption(const LayoutTableCaption*); |
440 void AddColumn(const LayoutTableCol*); | 439 void AddColumn(const LayoutTableCol*); |
441 void RemoveColumn(const LayoutTableCol*); | 440 void RemoveColumn(const LayoutTableCol*); |
442 | 441 |
443 void PaintBoxDecorationBackground(const PaintInfo&, | 442 void PaintBoxDecorationBackground(const PaintInfo&, |
444 const LayoutPoint&) const final; | 443 const LayoutPoint&) const final; |
445 | 444 |
446 void PaintMask(const PaintInfo&, const LayoutPoint&) const final; | 445 void PaintMask(const PaintInfo&, const LayoutPoint&) const final; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 if (first_body_) | 621 if (first_body_) |
623 return first_body_; | 622 return first_body_; |
624 return foot_; | 623 return foot_; |
625 } | 624 } |
626 | 625 |
627 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); | 626 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, IsTable()); |
628 | 627 |
629 } // namespace blink | 628 } // namespace blink |
630 | 629 |
631 #endif // LayoutTable_h | 630 #endif // LayoutTable_h |
OLD | NEW |