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

Unified Diff: ui/views/painter.h

Issue 2714753002: Improve appearance of focus rings at fractional scales. (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/painter.h
diff --git a/ui/views/painter.h b/ui/views/painter.h
index a018e04039ca8225ca0b90683cea4de70a350fb9..5757336387cfb01d718f2633bbbd06732aa79cdf 100644
--- a/ui/views/painter.h
+++ b/ui/views/painter.h
@@ -87,9 +87,10 @@ class VIEWS_EXPORT Painter {
static std::unique_ptr<Painter> CreateSolidFocusPainter(
SkColor color,
const gfx::Insets& insets);
+ // |thickness| is in dip.
static std::unique_ptr<Painter> CreateSolidFocusPainter(
SkColor color,
- SkScalar thickness,
+ int thickness,
const gfx::InsetsF& insets);
// Returns the minimum size this painter can paint without obvious graphical
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698