summaryrefslogtreecommitdiffstats
path: root/apps/size_constraints.cc
Commit message (Collapse)AuthorAgeFilesLines
* Create windows for new app window bounds APItmdiep@chromium.org2014-03-111-4/+20
| | | | | | | | | | | | Added create options "innerBounds" and "outerBounds" for the new app window bounds API. BUG=315471, 349397 TEST=browser_tests (AppWindowAPITest.*) Review URL: https://codereview.chromium.org/186343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256125 0039d316-1c4b-4281-b951-d872f2087c98
* Add <algorithm> include needed on VS2013scottmg@chromium.org2014-03-011-0/+2
| | | | | | | | | TBR=tmdiep@chromium.org BUG=309197 Review URL: https://codereview.chromium.org/185173003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254348 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored app window size constraintstmdiep@chromium.org2014-02-281-0/+65
The NativeAppWindow subclasses all depend on the minimum and maximum size constraints state stored in AppWindow. This is problematic when creating a window for the new bounds API. This patch moves the constraints state into the NativeAppWindow. BUG=315471 TEST=browser_tests (AppWindowAPITest.TestSizeConstraints) Review URL: https://codereview.chromium.org/181383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254119 0039d316-1c4b-4281-b951-d872f2087c98