| Index: ui/views/bubble/bubble_border.cc
|
| diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc
|
| index f81bb2d761891c18a198ea49e466d87e0680fcfc..f2e8ff0f227d2b09636e957f743a55025da09e34 100644
|
| --- a/ui/views/bubble/bubble_border.cc
|
| +++ b/ui/views/bubble/bubble_border.cc
|
| @@ -234,6 +234,12 @@ bool BubbleBorder::GetArrowPath(const gfx::Rect& view_bounds,
|
| return true;
|
| }
|
|
|
| +void BubbleBorder::SetBorderInteriorThickness(int border_interior_thickness) {
|
| + images_->border_interior_thickness = border_interior_thickness;
|
| + if (!has_arrow(arrow_) || arrow_paint_type_ != PAINT_NORMAL)
|
| + images_->border_thickness = border_interior_thickness;
|
| +}
|
| +
|
| void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) {
|
| gfx::Rect bounds(view.GetContentsBounds());
|
| bounds.Inset(-GetBorderThickness(), -GetBorderThickness());
|
|
|