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

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, 5 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 8098318a314a6fd2a879bcaea6369216d7382367..3676a06da6dab16eb0eeddf71f590490db88f9f5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -234,6 +234,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;
@@ -600,6 +607,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_;
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutState.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698