Index: ui/views/border.h |
diff --git a/ui/views/border.h b/ui/views/border.h |
index e2f7be61cff5965eb03e0132ab6b879afbf9f467..6bbcec70356f5e63b90ef04cad1ab9f521e58d09 100644 |
--- a/ui/views/border.h |
+++ b/ui/views/border.h |
@@ -49,6 +49,12 @@ class VIEWS_EXPORT Border { |
// color. |
static scoped_ptr<Border> CreateSolidBorder(int thickness, SkColor color); |
+ // Creates a border that is a rounded rectangle of the specified thickness and |
+ // color. |
+ static scoped_ptr<Border> CreateRoundedRectBorder(int thickness, |
+ int corner_radius, |
+ SkColor color); |
+ |
// Creates a border for reserving space. The returned border does not |
// paint anything. |
static scoped_ptr<Border> CreateEmptyBorder(const gfx::Insets& insets); |