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

Unified Diff: third_party/WebKit/Source/core/paint/TableRowPainter.h

Issue 1983853003: Refactor background painting behind table cells (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/paint/TableRowPainter.h
diff --git a/third_party/WebKit/Source/core/paint/TableRowPainter.h b/third_party/WebKit/Source/core/paint/TableRowPainter.h
index 5c16da032dee78c022b71eac3bb8a279ac8e57fa..8097e92a9ef9c4e0143523d916637346dae4d65b 100644
--- a/third_party/WebKit/Source/core/paint/TableRowPainter.h
+++ b/third_party/WebKit/Source/core/paint/TableRowPainter.h
@@ -6,6 +6,7 @@
#define TableRowPainter_h
#include "core/layout/LayoutTableRow.h"
+#include "core/style/ShadowData.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -16,7 +17,8 @@ public:
TableRowPainter(const LayoutTableRow& layoutTableRow) : m_layoutTableRow(layoutTableRow) { }
void paint(const PaintInfo&, const LayoutPoint&);
- void paintOutlineForRowIfNeeded(const PaintInfo&, const LayoutPoint&);
+ void paintOutline(const PaintInfo&, const LayoutPoint&);
+ void paintBackgroundBehindCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
Xianzhu 2016/05/16 21:47:53 It calls TableCellPainter::paintContainerBackgroun
private:
const LayoutTableRow& m_layoutTableRow;

Powered by Google App Engine
This is Rietveld 408576698