Index: chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
index 97e513e2fed13ae28dd57106874dc984aa270d03..8b006f04a2b8d2fa52dcd7a141d1134609259cef 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
@@ -73,12 +73,9 @@ ToolbarActionView::ToolbarActionView( |
set_context_menu_controller(this); |
// If the button is within a menu, we need to make it focusable in order to |
- // have it accessible via keyboard navigation, but it shouldn't request focus |
- // (because that would close the menu). |
- if (delegate_->ShownInsideMenu()) { |
- set_request_focus_on_press(false); |
+ // have it accessible via keyboard navigation. |
+ if (delegate_->ShownInsideMenu()) |
SetFocusBehavior(FocusBehavior::ALWAYS); |
- } |
UpdateState(); |
} |