summaryrefslogtreecommitdiffstats
path: root/ui/views/border.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/border.h')
-rw-r--r--ui/views/border.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/views/border.h b/ui/views/border.h
index d28a523..a362fcc 100644
--- a/ui/views/border.h
+++ b/ui/views/border.h
@@ -48,6 +48,12 @@ class VIEWS_EXPORT Border {
// paint anything.
static Border* CreateEmptyBorder(int top, int left, int bottom, int right);
+ // Creates a border of the specified color, and specified thickness on each
+ // side.
+ static Border* CreateSolidSidedBorder(int top, int left,
+ int bottom, int right,
+ SkColor color);
+
// Creates a Border from the specified Painter. The border owns the painter,
// thus the painter is deleted when the Border is deleted.
static Border* CreateBorderPainter(Painter* painter);