Chromium Code Reviews
DescriptionFix aura_unittests and view_unittests for Ozone X11.
There are assumptions in the code that PlatformWindow::SetBounds() will
change PlatformWindow bounds immediately. This isn't quite true with
X11, as the operation is async, but we can just assume SetBounds() was
successful. This is what WindowTreeHostX11 does.
The PlatformWindow will get a ConfigureNotify message with the actual
bounds later and if they don't match the requested bounds it will notify
the delegate of the new bounds.
Also, change Ozone CrOS bot to run aura_unittests and view_unittest with
Ozone X11 now that they work.
BUG=664570
Review-Url: https://codereview.chromium.org/2665193002
Cr-Commit-Position: refs/heads/master@{#447437}
Committed: https://chromium.googlesource.com/chromium/src/+/ff673af0e1005f36546e4503557aceadae0cd093
Patch Set 1 #Patch Set 2 : Fix view_unittests too. #Patch Set 3 : Pass initial bounds into X11Window/X11WindowOzone. #
Dependent Patchsets: Messages
Total messages: 24 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||