crosswalk-project/chromium-crosswalk — pull request #80 by ds-hwang (2013-11-12 13:18:17+00:00)
Title: Ensure that the desktop content and the container window in AURA has correct sizes on all platforms.

The addition of the desktop container window broke linux aura because it uses the Desktop layout manager
which resized the container window once it became the child of the root window. On Windows AURA we don't
use the Desktop layout manager.

Fix is to unify the size handling code in the DesktopNativeWidgetAura class in the OnRootWindowHostResized
notification. We resize both the content and the container windows here. The logic from the
DesktopNativeWidgetAura::OnBoundsChanged function has been moved OnRootWindowHostResized OnRootWindowHostMoved
handlers.

As per discussion with sky removed the Desktop Layout Manager.

BUG=292530
R=erg@chromium.org, sky@chromium.org, sky
TEST=Covered by views test DesktopAuraWindowSizeTest

Review URL: https://codereview.chromium.org/24704002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226057 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 6f3f2bc1ed58828cc077758da741d7d43c7ddfac)