chromeos: Pass visibility state changes to client
This fixes a problem with restoring minimized windows. The client needs to know that the window is not visible to know that it is allowed to restore it. Fixes the following tests: -AppWindowApiTest.OnRestoredEvent -BrowserActionApiTest.BrowserActionPopupWithIframe -FirstRunUIBrowserTest.ModalWindowDoesNotBlock -LauncherPlatformAppBrowserTest.PackagedAppClickBehaviorInMinimizeMode -LoginWebDialogTest.CannotMinimize -LoginWebDialogTest.CloseDialogByAccelerator -ShelfAppBrowserTestNoDefaultBrowser.BrowserShortcutLauncherItemController Bug: 855767 Test: added to services_unittests Change-Id: Icb1a12e4dd18f68807bf0dc9140ce289e9ea913c Reviewed-on: https://chromium-review.googlesource.com/c/1292053Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#601349}
Showing
Please register or sign in to comment