Fixed incorrect frame insets for app windows on ChromeOS
HeaderPainter::GetWindowBoundsForClientBounds() shifts the Y coordinate of the window bounds to ensure it is not negative. This causes NativeAppWindowViews::GetFrameInsets() to compute the wrong insets. Therefore we should leave the Y coordinate of the window bounds negative in HeaderPainter::GetWindowBoundsForClientBounds(). BUG=349220 TEST=browser_tests (AppWindowBrowserTest.*) Review URL: https://codereview.chromium.org/180803013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255878 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment