Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index 6ec55f2b4db5450a11e74c8a12daeca12b10b7c4..d987d46daf24c3d7173a7cc788c3b6e11ebc4d91 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -659,13 +659,11 @@ bool WindowsCreateFunction::RunSync() { |
WindowController* controller = new_window->extension_window_controller(); |
-#if defined(OS_LINUX) || defined(OS_CHROMEOS) |
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
// On Desktop Linux, window managers may ignore hints until the X11 window is |
// mapped, which happens in the blocking call to Show() above. |
// DesktopWindowTreeHostX11 currently only checks for an attempt to maximize |
// once mapped, but not minimize or fullscreen. |
- // For ChromeOS, manually Minimize(). Because minimzied window is not |
- // considered to create new window. See http://crbug.com/473228. |
if (create_params.initial_show_state == ui::SHOW_STATE_MINIMIZED) |
new_window->window()->Minimize(); |
#endif |