| Index: apps/app_window_contents.cc
|
| diff --git a/apps/app_window_contents.cc b/apps/app_window_contents.cc
|
| index 56ae403b2d0faff5ce3df1380f2e5920344ab3cd..8606edb7f7c3c7eb79ce30000e8f5e071dae2634 100644
|
| --- a/apps/app_window_contents.cc
|
| +++ b/apps/app_window_contents.cc
|
| @@ -93,6 +93,15 @@ void AppWindowContents::NativeWindowChanged(
|
| dictionary->SetBoolean("minimized", native_app_window->IsMinimized());
|
| dictionary->SetBoolean("maximized", native_app_window->IsMaximized());
|
|
|
| + const ShellWindow::SizeConstraints& size_constraints =
|
| + host_->size_constraints();
|
| + gfx::Size min_size = size_constraints.GetMinimumSize();
|
| + gfx::Size max_size = size_constraints.GetMaximumSize();
|
| + dictionary->SetInteger("minWidth", min_size.width());
|
| + dictionary->SetInteger("minHeight", min_size.height());
|
| + dictionary->SetInteger("maxWidth", max_size.width());
|
| + dictionary->SetInteger("maxHeight", max_size.height());
|
| +
|
| content::RenderViewHost* rvh = web_contents_->GetRenderViewHost();
|
| rvh->Send(new ExtensionMsg_MessageInvoke(rvh->GetRoutingID(),
|
| host_->extension_id(),
|
|
|