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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.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/BoxPainter.h
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.h b/third_party/WebKit/Source/core/paint/BoxPainter.h
index 93247a23540a9f74334e3ac5a5ea4efe0bce5876..dc288498017dcc7d021779d7bfcc1ddfc67a32ee 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.h
@@ -47,6 +47,8 @@ public:
static void paintBoxShadow(const PaintInfo&, const LayoutRect&, const ComputedStyle&, ShadowStyle, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true);
static bool shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle&, const Document&);
+ LayoutRect boundsForDrawingRecorder(const LayoutPoint& adjustedPaintOffset);
+
private:
void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backgroundColor, BackgroundBleedAvoidance = BackgroundBleedNone);
static FloatRoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(const LayoutObject&, const LayoutRect&, BackgroundBleedAvoidance, const InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
@@ -54,8 +56,6 @@ private:
bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
static void applyBoxShadowForBackground(GraphicsContext&, const LayoutObject&);
- LayoutRect boundsForDrawingRecorder(const LayoutPoint& paintOffset);
-
const LayoutBox& m_layoutBox;
};

Powered by Google App Engine
This is Rietveld 408576698