Descriptionaura: 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106989
Patch Set 1 #Patch Set 2 : comments #Patch Set 3 : minor cleanup #
Total comments: 1
Patch Set 4 : fix some races #Patch Set 5 : use ToString in test comparisons #Patch Set 6 : reset host win position when wm isn't running #
Total comments: 9
Patch Set 7 : apply feedback #Patch Set 8 : re-add size check #
Total comments: 3
Patch Set 9 : re-add call to XResizeWindow() #
Total comments: 2
Patch Set 10 : simplify gfx::Rect() calls in test #Patch Set 11 : update a few other gfx::Rect calls #
Messages
Total messages: 14 (0 generated)
|