Chromium Code Reviews| 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 2224bcfd7e67913dd3840938cad7df5ba147e41e..87ae5c7b2528a89e106eea9c20f9fffe47582f8a 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. |
|
tapted
2015/05/26 23:25:30
I think minimize was added to DWTHX11's ShowWindow
joone
2015/05/27 17:50:21
Can I create a separated CL for the Desktop Linux
|
| - // 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 |