Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.h

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 9c80602b16980922f0b18ff20f0309d5b4d56e01..e659a62caa5f238330a1b90eb6eadea2768c69b6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -341,7 +341,9 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
return false;
}
- int PaginationStrutForRow(LayoutTableRow*, LayoutUnit logical_offset) const;
+ int PaginationStrutForRow(LayoutTableRow*,
+ LayoutUnit logical_offset,
+ bool& can_repeat_footer) const;
bool MapToVisualRectInAncestorSpaceInternal(
const LayoutBoxModelObject* ancestor,
@@ -349,6 +351,7 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
VisualRectFlags = kDefaultVisualRectFlags) const override;
bool IsRepeatingHeaderGroup() const;
+ bool IsRepeatingFooterGroup() const;
void UpdateLayout() override;

Powered by Google App Engine
This is Rietveld 408576698