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

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

Issue 2386033002: Scale focus outline thickness with zoom level. (Closed)
Patch Set: return if outline width is 0 Created 4 years, 2 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/ObjectPainter.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.h b/third_party/WebKit/Source/core/paint/ObjectPainter.h
index 2b7d96fdf18d0c0d1458041c92f53607419da165..acf90ff394e0140255605e0c87134e274a9d356a 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.h
@@ -27,6 +27,8 @@ class ObjectPainter {
ObjectPainter(const LayoutObject& layoutObject)
: m_layoutObject(layoutObject) {}
+ static float getOutlineStrokeWidth(const ComputedStyle&);
+
void paintOutline(const PaintInfo&, const LayoutPoint& paintOffset);
void paintInlineChildrenOutlines(const PaintInfo&,
const LayoutPoint& paintOffset);

Powered by Google App Engine
This is Rietveld 408576698