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

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

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 years, 6 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/LayoutTable.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h
index f7f0035143a5369f5d3e77027052a4e878d4800b..49f91172ee56df7c9f040c145bd81e25a0c227a5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -204,6 +204,13 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
return row_offset_from_repeating_header_;
}
+ void SetRowOffsetFromRepeatingFooter(LayoutUnit offset) {
+ row_offset_from_repeating_footer_ = offset;
+ }
+ LayoutUnit RowOffsetFromRepeatingFooter() const {
+ return row_offset_from_repeating_footer_;
+ }
+
// These functions return nullptr if the table has no sections.
LayoutTableSection* TopSection() const;
LayoutTableSection* BottomSection() const;
@@ -570,6 +577,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
LayoutUnit block_offset_to_first_repeatable_header_;
LayoutUnit row_offset_from_repeating_header_;
+ LayoutUnit row_offset_from_repeating_footer_;
LayoutUnit old_available_logical_height_;
};

Powered by Google App Engine
This is Rietveld 408576698