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

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

Issue 2326303002: Don't repeat headers if at least one row of content doesn't fit (Closed)
Patch Set: Created 4 years, 3 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/LayoutTableRow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.h b/third_party/WebKit/Source/core/layout/LayoutTableRow.h
index 65bd1e693de9876da37042aff6ae9cb1519cfe77..31220d310abdc90d60506753c7dc079fca2fb74d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.h
@@ -129,6 +129,8 @@ public:
bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, unsigned) const override { return false; }
bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override { return false; }
+ void setHasPaginationStrut(int strut) { m_hasPaginationStrut = strut; }
+ bool hasPaginationStrut() { return m_hasPaginationStrut; }
private:
void addOverflowFromCell(const LayoutTableCell*);
@@ -161,6 +163,7 @@ private:
// rowIndex() above instead. This is to ensure that we never read this
// value before it is set.
unsigned m_rowIndex : 31;
+ bool m_hasPaginationStrut : 1;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableRow, isTableRow());

Powered by Google App Engine
This is Rietveld 408576698