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

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

Issue 2882043002: Update our treatment of repeating headers in tables (Closed)
Patch Set: bug 720620 Created 3 years, 7 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 dbf781f6daacd605a597521c0978d7364f3f0fb0..de1d2afd51c7ae768b01d0601213638fc95dfba4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.h
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h
@@ -83,6 +83,13 @@ class LayoutState {
LayoutUnit PageLogicalOffset(const LayoutBox&,
const LayoutUnit& child_logical_offset) const;
+ LayoutUnit HeightOffsetForTableHeaders() const {
+ return height_offset_for_table_headers_;
+ }
+ void SetHeightOffsetForTableHeaders(LayoutUnit offset) {
+ height_offset_for_table_headers_ = offset;
+ }
+
const LayoutSize& PaginationOffset() const { return pagination_offset_; }
bool ContainingBlockLogicalWidthChanged() const {
return containing_block_logical_width_changed_;
@@ -113,6 +120,10 @@ class LayoutState {
// relative positioning or scroll offsets.
LayoutSize pagination_offset_;
+ // The height we need to make available for repeating table headers in
+ // paginated layout.
+ LayoutUnit height_offset_for_table_headers_;
+
LayoutObject& layout_object_;
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.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