DescriptionMake WindowServerTestBase connect as WM client.
WindowServerTestBase already implements the WindowManagerDelegate
interface to be a WM client. Instead of connecting to service:ui as a WM
client, it connects using mojom::WindowTreeHost. This interface is only
used in tests and doesn't exercise the real display codepath in
service:ui.
Change WindowServerTestBase to connect WM client. The first response
that it receives will be in OnWmNewDisplay() instead of OnEmbed(), so
move call QuitRunLoop() to OnWmNewDisplay() as well.
BUG=none
Committed: https://crrev.com/919090e7946b429d0854602d711ccf9215c4d279
Cr-Commit-Position: refs/heads/master@{#427159}
Patch Set 1 #
Messages
Total messages: 15 (9 generated)
|