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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutState.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/LayoutState.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.h b/third_party/WebKit/Source/core/layout/LayoutState.h
index de1d2afd51c7ae768b01d0601213638fc95dfba4..902c8f23373acec88ae38b3f74f23f78c0e1d66b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.h
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h
@@ -90,6 +90,13 @@ class LayoutState {
height_offset_for_table_headers_ = offset;
}
+ LayoutUnit HeightOffsetForTableFooters() const {
+ return height_offset_for_table_footers_;
+ }
+ void SetHeightOffsetForTableFooters(LayoutUnit offset) {
+ height_offset_for_table_footers_ = offset;
+ }
+
const LayoutSize& PaginationOffset() const { return pagination_offset_; }
bool ContainingBlockLogicalWidthChanged() const {
return containing_block_logical_width_changed_;
@@ -124,6 +131,10 @@ class LayoutState {
// paginated layout.
LayoutUnit height_offset_for_table_headers_;
+ // The height we need to make available for repeating table footers in
+ // paginated layout.
+ LayoutUnit height_offset_for_table_footers_;
+
LayoutObject& layout_object_;
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698