Index: ui/views/controls/tabbed_pane/tabbed_pane.cc |
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc |
index 218c20eda919c21b6c92da7f28c1a5f24500636c..8b948e70bbf76121441d0a67e89fe766922398f6 100644 |
--- a/ui/views/controls/tabbed_pane/tabbed_pane.cc |
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc |
@@ -277,7 +277,12 @@ TabbedPane::TabbedPane() |
tab_strip_(new TabStrip(this)), |
contents_(new View()), |
selected_tab_index_(-1) { |
+#if defined(OS_MACOSX) |
+ SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY); |
+#else |
SetFocusBehavior(FocusBehavior::ALWAYS); |
+#endif |
+ |
AddChildView(tab_strip_); |
AddChildView(contents_); |
} |