| Index: ui/views/focus_border.h
|
| diff --git a/ui/views/focus_border.h b/ui/views/focus_border.h
|
| index 15a3477883422e906470a992e5247b4988fc16c1..125743c657d3d3ca4901caf76e01b2831a057b84 100644
|
| --- a/ui/views/focus_border.h
|
| +++ b/ui/views/focus_border.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef UI_VIEWS_FOCUS_BORDER_H_
|
| #define UI_VIEWS_FOCUS_BORDER_H_
|
|
|
| +#include "third_party/skia/include/core/SkColor.h"
|
| +#include "ui/gfx/insets.h"
|
| #include "ui/views/views_export.h"
|
| #include "base/basictypes.h"
|
|
|
| @@ -34,6 +36,11 @@ class VIEWS_EXPORT FocusBorder {
|
| static FocusBorder* CreateDashedFocusBorder(
|
| int left, int top, int right, int bottom);
|
|
|
| + // Creates a focus border with a given |inset| and |focus_color| which is one
|
| + // pixel thick.
|
| + static FocusBorder* CreateSolidFocusBorder(
|
| + SkColor focus_color, const gfx::Insets& insets);
|
| +
|
| // Renders the focus border for the specified view.
|
| virtual void Paint(const View& view, gfx::Canvas* canvas) const = 0;
|
|
|
|
|