Chromium Code Reviews| 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, 2013 Apple Inc. All rights | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights |
| 8 * reserved. | 8 * 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 343 } | 343 } |
| 344 | 344 |
| 345 int PaginationStrutForRow(LayoutTableRow*, LayoutUnit logical_offset) const; | 345 int PaginationStrutForRow(LayoutTableRow*, LayoutUnit logical_offset) const; |
| 346 | 346 |
| 347 bool MapToVisualRectInAncestorSpaceInternal( | 347 bool MapToVisualRectInAncestorSpaceInternal( |
| 348 const LayoutBoxModelObject* ancestor, | 348 const LayoutBoxModelObject* ancestor, |
| 349 TransformState&, | 349 TransformState&, |
| 350 VisualRectFlags = kDefaultVisualRectFlags) const override; | 350 VisualRectFlags = kDefaultVisualRectFlags) const override; |
| 351 | 351 |
| 352 bool IsRepeatingHeaderGroup() const; | 352 bool IsRepeatingHeaderGroup() const; |
| 353 bool IsRepeatingFooterGroup( | |
| 354 LayoutTableSection* section_for_page = nullptr) const; | |
|
mstensho (USE GERRIT)
2017/05/08 13:56:00
This parameter needs some documentation.
rhogan
2017/05/09 19:57:17
Done in the definition.
| |
| 353 | 355 |
| 354 void UpdateLayout() override; | 356 void UpdateLayout() override; |
| 355 | 357 |
| 356 CellSpan FullSectionRowSpan() const { return CellSpan(0, grid_.size()); } | 358 CellSpan FullSectionRowSpan() const { return CellSpan(0, grid_.size()); } |
| 357 CellSpan FullTableEffectiveColumnSpan() const { | 359 CellSpan FullTableEffectiveColumnSpan() const { |
| 358 return CellSpan(0, Table()->NumEffectiveColumns()); | 360 return CellSpan(0, Table()->NumEffectiveColumns()); |
| 359 } | 361 } |
| 360 | 362 |
| 361 protected: | 363 protected: |
| 362 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 364 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 503 | 505 |
| 504 // Whether any cell spans multiple rows or cols. | 506 // Whether any cell spans multiple rows or cols. |
| 505 bool has_spanning_cells_; | 507 bool has_spanning_cells_; |
| 506 }; | 508 }; |
| 507 | 509 |
| 508 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, IsTableSection()); | 510 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, IsTableSection()); |
| 509 | 511 |
| 510 } // namespace blink | 512 } // namespace blink |
| 511 | 513 |
| 512 #endif // LayoutTableSection_h | 514 #endif // LayoutTableSection_h |
| OLD | NEW |