Index: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
index d101fc1e0e215af8dbc5420859d8d369ef7e32a6..7d346f750dbd225ccceb98ffe2f397c041cd3d71 100644 |
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
@@ -59,8 +59,11 @@ TabStripLayoutType DetermineTabStripLayout(PrefService* prefs, |
switches::kEnableStackedTabStrip)) { |
return TAB_STRIP_LAYOUT_STACKED; |
} |
+ // For chromeos always allow entering stacked mode. |
+#if !defined(OS_CHROMEOS) |
if (ui::GetDisplayLayout() != ui::LAYOUT_TOUCH) |
return TAB_STRIP_LAYOUT_SHRINK; |
+#endif |
*adjust_layout = true; |
switch (prefs->GetInteger(prefs::kTabStripLayoutType)) { |
case TAB_STRIP_LAYOUT_STACKED: |