New issue
Advanced search Search tips

Issue 921272 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 921156



Sign in to add a comment

Mash windows won't set the max/min size nor aspect ratio properly

Project Member Reported by mukai@chromium.org, Jan 12

Issue description

views::Widget has GetMinimumSize, GetMaximumSize, and SetAspectRatio to make limitations of resizing the window. These are not handled in Mash since the resize happens in Ash and Ash does not have access to those methods in the browser window or window-tree client.

We need to support this for apps window and picture-in-picture.
 
Blocking: 921156
There is a property for the min, but it is only wired up for browser windows. I believe the reason for not generically wiring up is that it's not always clear what the best time is to call these functions. It would seem that we should make initial creation of DesktopWindowTreeHostMus install values for min/max/aspect-ratio.

Sign in to add a comment