Chromium Code Reviews
DescriptionRemove ash::ScopedObserverWithDuplicatedSources
It was added in http://crrev.com/21185004 to allow observation of multiple
ActivationClients in ash. However, ash only has a single ActivationClient, so
just observe that directly.
This eliminates ash::WindowTreeHostManager access in ShelfWindowWatcher, which
will simplify its conversion to wm types. It also simplifies
BrowserStatusMonitor, which no longer needs to observe root windows or displays
just to add activation client observers.
BUG=629257
TEST=ash_unittests, chrome unit_tests, manually activate windows and tabs in
ash and verify shelf light-bar appearance changes correctly
Committed: https://crrev.com/04f84072e56506d52835408c0862a80865bde7b9
Cr-Commit-Position: refs/heads/master@{#407919}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||