Create ImmersiveFocusWatcher for use in Chrome in Mash.
This keeps the immersive reveal going when bubbles anchored to the top container (like the bookmark bubble) are open, when focus in in the top container, or when transient children (like the bookmark editor) are open. ImmersiveFocusWatcherMus is largely copied from ImmersiveFocusWatcherClassic, but 1. uses aura::client::TransientWindowClient instead of ::wm::TransientWindowManager 2. uses WindowTreeClient::FocusSynchronizer instead of ::wm::GetActivationClient 3. Appends |->GetRootWindow()| in a couple places. Bug: 640365 Change-Id: I46cd0c3d66808d726fea484ff13ceea53dcabd5c Reviewed-on: https://chromium-review.googlesource.com/1187708 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#586323}
Showing
Please register or sign in to comment