ChromeVox shows a panel at the top of the screen. The work-area of the display is reduced so that it doesn't overlap this panel. We need to expose an API in ash to be able to do this from chrome.
I'm going to look at this again. It's awkward because the ChromeVox widget seems to need information about:
* Whether or not any window is fullscreen
* Whether its webui wants to be fullscreen or not
* WebContents navigation state (used to communicate between the extension and this panel)
* Whether the docked magnifier a11y feature is on, and how big its panel is
This interacts with shelf layout to set the work area.
I think the best way forward is to flag this widget as special, with a window property like "I'm chromevox" or "I consume work area". Ash will handle all the bounds/layout/work area computation. Ash owns most of the information to compute the desired bounds, so I think that's the simplest way to go.
Summary: mash: Move ChromeVox panel layout management to ash (was: ash: Allow clients to change the working area)
Retitling to reflect our plan to move ChromeVox "accessibility panel" layout management into ash, rather than exposing a direct "change work area" API.
The following revision refers to this bug:
https://chromium.googlesource.com/chromium/src.git/+/8c672d09d8137ecb2c340fb987d44e3ae55a8010
commit 8c672d09d8137ecb2c340fb987d44e3ae55a8010
Author: James Cook <jamescook@chromium.org>
Date: Tue Mar 13 21:41:23 2018
cros: Enable AccessibilityManagerTest in mash_browser_tests
Now that ChromeVoxPanel speaks mojo we can enable the following tests:
AccessibilityManagerTest.AccessibilityMenuVisibility
AccessibilityManagerTest.ChangingTypePrefInvokesNotification
AccessibilityManagerTest.ChangingTypeInvokesNotification
AccessibilityManagerTest.TypePref
AccessibilityManagerLoginTest.BrailleOnLoginScreen
AccessibilityManagerLoginTest.Login
UserTypeInstantiation/AccessibilityManagerUserTypeTest.BrailleWhenLoggedIn/0
UserTypeInstantiation/AccessibilityManagerUserTypeTest.BrailleWhenLoggedIn/1
UserTypeInstantiation/AccessibilityManagerUserTypeTest.BrailleWhenLoggedIn/2
UserTypeInstantiation/AccessibilityManagerUserTypeLoginTest.EnableOnLoginScreenAndLogin/0
UserTypeInstantiation/AccessibilityManagerUserTypeLoginTest.EnableOnLoginScreenAndLogin/1
UserTypeInstantiation/AccessibilityManagerUserTypeLoginTest.EnableOnLoginScreenAndLogin/2
Update the filter to put the remaining failures in the right sections.
Bug: 628655
Change-Id: Ifd7f9dab36b98c6c9f29beb511a8ddd3b33906af
Reviewed-on: https://chromium-review.googlesource.com/959610
Reviewed-by: David Tseng <dtseng@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542921}
[modify] https://crrev.com/8c672d09d8137ecb2c340fb987d44e3ae55a8010/testing/buildbot/filters/mash.browser_tests.filter
Comment 1 by sadrul@chromium.org
, Jul 15 2016