| Index: ui/views/painter.h
|
| diff --git a/ui/views/painter.h b/ui/views/painter.h
|
| index e58ced943607edaa28bb64487d59cc0ecd66e0c8..f158c928b0a25d091f00b43070aadae8fb0f0242 100644
|
| --- a/ui/views/painter.h
|
| +++ b/ui/views/painter.h
|
| @@ -19,6 +19,7 @@ namespace gfx {
|
| class Canvas;
|
| class ImageSkia;
|
| class Insets;
|
| +class InsetsF;
|
| class Rect;
|
| class Size;
|
| }
|
| @@ -87,9 +88,14 @@ class VIEWS_EXPORT Painter {
|
| static std::unique_ptr<Painter> CreateDashedFocusPainter();
|
| static std::unique_ptr<Painter> CreateDashedFocusPainterWithInsets(
|
| const gfx::Insets& insets);
|
| + // Deprecated: used the InsetsF version below.
|
| static std::unique_ptr<Painter> CreateSolidFocusPainter(
|
| SkColor color,
|
| const gfx::Insets& insets);
|
| + static std::unique_ptr<Painter> CreateSolidFocusPainter(
|
| + SkColor color,
|
| + SkScalar thickness,
|
| + const gfx::InsetsF& insets);
|
|
|
| // Returns the minimum size this painter can paint without obvious graphical
|
| // problems (e.g. overlapping images).
|
|
|