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

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

Issue 1963313002: Implement box-shadow for table section and row (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..7414966e03b31b1f23efb8bbb1f2306cf97c8245 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,9 @@ 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 paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle);
+ void paintBackgroundBehindCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
chrishtr 2016/05/14 18:03:46 Doesn't a cell know its row? Why is this method no
private:
const LayoutTableRow& m_layoutTableRow;

Powered by Google App Engine
This is Rietveld 408576698