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

Unified Diff: Source/core/paint/ObjectPainter.h

Issue 1224933002: Combine outline and focus ring code paths (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 4 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: Source/core/paint/ObjectPainter.h
diff --git a/Source/core/paint/ObjectPainter.h b/Source/core/paint/ObjectPainter.h
index a380fbec6360211aef3a2cdb0f8f53924afa668f..14a91bcf5d5eb9536003254d219e7b0e4aa2e1bb 100644
--- a/Source/core/paint/ObjectPainter.h
+++ b/Source/core/paint/ObjectPainter.h
@@ -23,8 +23,8 @@ class ObjectPainter {
public:
ObjectPainter(LayoutObject& layoutObject) : m_layoutObject(layoutObject) { }
- void paintOutline(const PaintInfo&, const LayoutRect& visualOverflowRect, const LayoutSize& objectSize, const LayoutPoint& paintOffset);
- void paintFocusRing(const PaintInfo&, const ComputedStyle&, const Vector<LayoutRect>& focusRingRects);
+ void paintOutline(const PaintInfo&, const LayoutPoint& paintOffset);
+ void paintInlineChildrenOutlines(const PaintInfo&, const LayoutPoint& paintOffset);
void addPDFURLRectIfNeeded(const PaintInfo&, const LayoutPoint& paintOffset);
static void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false);

Powered by Google App Engine
This is Rietveld 408576698