Index: third_party/WebKit/Source/core/layout/LayoutTableSection.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h |
index c384e52ef076ae6e23a9bcb52fdcc691d282443d..a976ba543fb74754187b30f64a55c6ee474fe95f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h |
@@ -285,6 +285,7 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent { |
VisualRectFlags = kDefaultVisualRectFlags) const override; |
bool IsRepeatingHeaderGroup() const { return is_repeating_header_group_; }; |
+ bool IsRepeatingFooterGroup() const { return is_repeating_footer_group_; }; |
void UpdateLayout() override; |
@@ -297,6 +298,10 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent { |
is_repeating_header_group_ = HeaderGroupShouldRepeat(); |
} |
+ void DetermineIfFooterGroupShouldRepeat() { |
+ is_repeating_footer_group_ = FooterGroupShouldRepeat(); |
+ } |
+ |
protected: |
void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
bool NodeAtPoint(HitTestResult&, |
@@ -387,6 +392,8 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent { |
bool PaintedOutputOfObjectHasNoEffectRegardlessOfSize() const override; |
bool HeaderGroupShouldRepeat() const; |
+ bool FooterGroupShouldRepeat() const; |
+ bool GroupShouldRepeat() const; |
struct TableGridRow { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
@@ -448,6 +455,9 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent { |
// Header group should be painted on every page. |
bool is_repeating_header_group_; |
+ |
+ // Footer group should be painted on every page. |
+ bool is_repeating_footer_group_; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, IsTableSection()); |