[cros] Make login screen take whole screen in case of Aura.

BUG=100874
TEST=Manual. Launched login screen on Aura.

Review URL: http://codereview.chromium.org/8402026

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107710 0039d316-1c4b-4281-b951-d872f2087c98
parent 10fc7491
......@@ -161,7 +161,7 @@ views::Painter* CreateBackgroundPainter() {
}
gfx::Rect CalculateScreenBounds(const gfx::Size& size) {
gfx::Rect bounds(gfx::Screen::GetMonitorWorkAreaNearestWindow(NULL));
gfx::Rect bounds(gfx::Screen::GetMonitorAreaNearestWindow(NULL));
if (!size.IsEmpty()) {
int horizontal_diff = bounds.width() - size.width();
int vertical_diff = bounds.height() - size.height();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment