Chromium Code Reviews| 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..c6047804fa10697e4e1634c1a960f2b1de3c0b13 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_; |
| + }; |
|
mstensho (USE GERRIT)
2017/05/22 10:40:44
Drop the semicolon here, perhaps?
rhogan
2017/05/22 18:06:04
Done.
|
| + void SetHeightOffsetForTableHeaders(LayoutUnit offset) { |
| + height_offset_for_table_headers_ = offset; |
| + }; |
|
mstensho (USE GERRIT)
2017/05/22 10:40:44
And here
rhogan
2017/05/22 18:06:04
Done.
|
| + |
| 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_; |
| }; |