Index: chrome/browser/ui/views/location_bar/location_icon_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.cc b/chrome/browser/ui/views/location_bar/location_icon_view.cc |
index b185b8e9f30c1f9be60317bb2228a53b2393ccb8..4392be08fab55a5831190a1132ecb1d894e8863c 100644 |
--- a/chrome/browser/ui/views/location_bar/location_icon_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.cc |
@@ -35,7 +35,13 @@ LocationIconView::LocationIconView(const gfx::FontList& font_list, |
suppress_mouse_released_action_(false), |
location_bar_(location_bar) { |
set_id(VIEW_ID_LOCATION_ICON); |
+ |
+#if defined(OS_MACOSX) |
+ SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY); |
+#else |
SetFocusBehavior(FocusBehavior::ALWAYS); |
+#endif |
+ |
SetBackground(false); |
} |