Chromium Code Reviews
DescriptionFix bug in keeping capture in sync during destruction
It's possible when capture is lost the window losing focus gets
destroyed. This patch guards against that by not relying on the
lost_capture window, instead CaptureControllerMus adds itself as an
observer for the window with focus and if that window is destroyed
resets state.
In hopes of keeping the size of WindowTreeClient down I moved capture
code into its own class.
Test for this will come when aura tests are parameterized to work with
both backends.
BUG=659155
TEST=none
R=msw@chromium.org
Committed: https://crrev.com/e865fb99e4e29280049bc397cdb27e61adce4700
Cr-Commit-Position: refs/heads/master@{#428794}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : sync #
Total comments: 6
Patch Set 4 : feedback #
Messages
Total messages: 17 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||