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

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.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/TableSectionPainter.h
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.h b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
index dc992c884714cc236470d32928b52bf15c9cc7af..ff652230e7c40a41218a92f361c8745b31616ef7 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.h
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
@@ -6,10 +6,12 @@
#define TableSectionPainter_h
#include "core/paint/PaintPhase.h"
+#include "core/style/ShadowData.h"
#include "wtf/Allocator.h"
namespace blink {
+class CellSpan;
class CollapsedBorderValue;
class LayoutPoint;
class LayoutTableCell;
@@ -26,7 +28,12 @@ public:
private:
void paintObject(const PaintInfo&, const LayoutPoint&);
- void paintCell(const LayoutTableCell&, PaintPhase originalPaintPhase, const PaintInfo&, const LayoutPoint&);
+
+ void paintBackgroundsBehindCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
+ void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
+ void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle);
+
+ const LayoutTableCell* primaryCellToPaint(unsigned row, unsigned column, const CellSpan& dirtiedRows, const CellSpan& dirtiedColumns) const;
chrishtr 2016/05/14 18:03:46 This needs a comment.
const LayoutTableSection& m_layoutTableSection;
};

Powered by Google App Engine
This is Rietveld 408576698