summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ash/system/tray/system_tray.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 4c46389..d163985 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -611,8 +611,11 @@ void SystemTray::GetAccessibleState(ui::AccessibleViewState* state) {
}
void SystemTray::OnPaintFocusBorder(gfx::Canvas* canvas) {
+ // The tray itself expands to the right and bottom edge of the screen to make
+ // sure clicking on the edges brings up the popup. However, the focus border
+ // should be only around the container.
if (GetWidget() && GetWidget()->IsActive())
- views::View::OnPaintFocusBorder(canvas);
+ canvas->DrawFocusRect(container_->bounds());
}
void SystemTray::OnWidgetClosing(views::Widget* widget) {