Descriptionaura-mus: Fix regression and add tests for drag and drop,
This fixes a regression in drag and drop from last week where the use of
WindowTreeClients in nested RunLoops caused messages to not be delivered
from the window server, leading to drags never terminating, even after
releasing the mouse button.
This also adds an interactive ui tests which exercises the entire drag
pipeline from the client side in a test against a real instance of the
window server.
This also fixes the test window manager so that it responds to windows
requesting that their bounds be changed.
This also fixes how we initialize the OSDragExchangeProviderFactory. Env
can be switched from local aura mode to mus mode after initialization in
tests, and we have to handle that case, otherwise any test which
interacts with drag and drop crashes.
BUG=699235
Review-Url: https://codereview.chromium.org/2759463002
Cr-Commit-Position: refs/heads/master@{#457935}
Committed: https://chromium.googlesource.com/chromium/src/+/f4153114859e218c8fe5bef9293f2ec07d9bd276
Patch Set 1 #Patch Set 2 : Merge with ToT; EnableNestedDispatch() on relevant objects. #Patch Set 3 : Modify gn files. #Patch Set 4 : Attempt at fixing flakiness on the bots #Patch Set 5 : General cleanup. #
Total comments: 9
Patch Set 6 : sky comments #Patch Set 7 : Merge with master #
Messages
Total messages: 47 (33 generated)
|