DescriptionFixed 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.*)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255878
Patch Set 1 #Patch Set 2 : Fixed bad patch upload #
Total comments: 2
Patch Set 3 : Disable tests for GTK #
Messages
Total messages: 13 (0 generated)
|