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 5947617cc1217311b013b11c2b35f9fee925d560..4743a5b9b0668dc6e87b050a4daa71b102da56d1 100644 |
--- a/ash/system/tray/tray_popup_header_button.cc |
+++ b/ash/system/tray/tray_popup_header_button.cc |
@@ -35,7 +35,7 @@ TrayPopupHeaderButton::TrayPopupHeaderButton(views::ButtonListener* listener, |
SetImageAlignment(views::ImageButton::ALIGN_CENTER, |
views::ImageButton::ALIGN_MIDDLE); |
SetAccessibleName(bundle.GetLocalizedString(accessible_name_id)); |
- SetFocusBehavior(FocusBehavior::ALWAYS); |
+ views::Button::ConfigureDefaultFocus(this); |
tapted
2016/04/20 06:05:57
if |this| inherits from button, there shouldn't be
karandeepb
2016/05/03 02:54:12
Done. But I have kept the Button:: prefix, since i
|
set_request_focus_on_press(false); |
SetFocusPainter(views::Painter::CreateSolidFocusPainter( |