| Index: chrome/browser/extensions/api/app_window/app_window_api.cc
|
| diff --git a/chrome/browser/extensions/api/app_window/app_window_api.cc b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| index 34e855581da5ec160f0edbce45c32c6757d2c38b..6dfcafc12f45c04d6ec5e8d028ff8c6a501ce5c9 100644
|
| --- a/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| +++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| @@ -130,6 +130,9 @@ bool AppWindowCreateFunction::RunImpl() {
|
| create_params.bounds.set_height(maximum_size.height());
|
| if (create_params.bounds.height() < minimum_size.height())
|
| create_params.bounds.set_height(minimum_size.height());
|
| +
|
| + if (options->hidden.get())
|
| + create_params.hidden = *options->hidden.get();
|
| }
|
|
|
| create_params.creator_process_id =
|
| @@ -137,7 +140,6 @@ bool AppWindowCreateFunction::RunImpl() {
|
|
|
| ShellWindow* shell_window =
|
| ShellWindow::Create(profile(), GetExtension(), url, create_params);
|
| - shell_window->GetBaseWindow()->Show();
|
|
|
| content::RenderViewHost* created_view =
|
| shell_window->web_contents()->GetRenderViewHost();
|
|
|