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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/views/border.h b/ui/views/border.h
index 8a0a55e2..d1431fb 100644
--- a/ui/views/border.h
+++ b/ui/views/border.h
@@ -59,7 +59,9 @@ class VIEWS_EXPORT Border {
// 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);
+ // |insets| define size of an area allocated for a Border.
+ static Border* CreateBorderPainter(Painter* painter,
+ const gfx::Insets& insets);
// Renders the border for the specified view.
virtual void Paint(const View& view, gfx::Canvas* canvas) = 0;