aura: Try to make Linux host resize code more reliable.
There's no guarantee that we'll get the host window size that we ask for. This adjusts WindowTest.Transform to not ask for a specific size, and instead just use the size it's been given. I also fixed a race in DesktopHostLinux::Show() when running under X window managers that don't take the _WM_S0 selection. We now wait for notification that the host window has been mapped before trying to focus it. I moved the logic for choosing to create a fullscreen host window out of DesktopHostLinux and into the browser. Finally, I changed DesktopHostLinux::SetSize() (called by Desktop::SetHostSize()) update the internal size and notify the desktop immediately. BUG=100979,100894 TEST=tests pass on ion3; fullscreen window is created on chrome os Review URL: http://codereview.chromium.org/8374005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106989 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment