| 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 6ac4b8179e72ffc29339a7fbb68133115e9c531b..e10cee835a3f432c17cb868992d77dad91888631 100644
|
| --- a/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| +++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| @@ -209,6 +209,13 @@ bool AppWindowCreateFunction::RunImpl() {
|
| result->Set("injectTitlebar",
|
| base::Value::CreateBooleanValue(inject_html_titlebar));
|
| result->Set("id", base::Value::CreateStringValue(shell_window->window_key()));
|
| + DictionaryValue* boundsValue = new DictionaryValue();
|
| + gfx::Rect bounds = shell_window->GetBaseWindow()->GetBounds();
|
| + boundsValue->SetInteger("left", bounds.x());
|
| + boundsValue->SetInteger("top", bounds.y());
|
| + boundsValue->SetInteger("width", bounds.width());
|
| + boundsValue->SetInteger("height", bounds.height());
|
| + result->Set("bounds", boundsValue);
|
| SetResult(result);
|
|
|
| if (ShellWindowRegistry::Get(profile())->HadDevToolsAttached(created_view)) {
|
|
|