| Index: ash/system/tray/tray_popup_header_button.cc
|
| diff --git a/ash/system/tray/tray_popup_header_button.cc b/ash/system/tray/tray_popup_header_button.cc
|
| index 7e20c00e4e752c50165d4e0847383f1505a196bd..ceeda043ad00fa4107c0f4dc3238c1ac5c5e1dc5 100644
|
| --- a/ash/system/tray/tray_popup_header_button.cc
|
| +++ b/ash/system/tray/tray_popup_header_button.cc
|
| @@ -37,6 +37,10 @@ TrayPopupHeaderButton::TrayPopupHeaderButton(views::ButtonListener* listener,
|
| SetAccessibleName(bundle.GetLocalizedString(accessible_name_id));
|
| set_focusable(true);
|
| set_request_focus_on_press(false);
|
| +
|
| + set_focus_border(views::FocusBorder::CreateSolidFocusBorder(
|
| + kFocusBorderColor,
|
| + gfx::Insets(1, 2, 2, 3)));
|
| }
|
|
|
| TrayPopupHeaderButton::~TrayPopupHeaderButton() {}
|
| @@ -57,13 +61,6 @@ void TrayPopupHeaderButton::OnPaintBorder(gfx::Canvas* canvas) {
|
| ash::kBorderDarkColor);
|
| }
|
|
|
| -void TrayPopupHeaderButton::OnPaintFocusBorder(gfx::Canvas* canvas) {
|
| - if (HasFocus()) {
|
| - canvas->DrawRect(gfx::Rect(2, 1, width() - 4, height() - 3),
|
| - kFocusBorderColor);
|
| - }
|
| -}
|
| -
|
| void TrayPopupHeaderButton::StateChanged() {
|
| SchedulePaint();
|
| }
|
|
|