New window-management related API needs to be introduced in devtool so that telemetry tests can be written to test ash performance.
To start off, we want the following APIs:
. Enter/exit window overview mode.
. Show/hide the window selector UI (i.e. alt-tab)
. Open/close the app list
For running the telemetry tests in mus+ash mode, we will need to either provide mojom API for doing these work, yes, or we would need to have ash directly handle the devtools commands. I think the mojom api would be the simpler option.
For regular chrome and mushrome configs, we don't need either. That's why we are starting without the mojom. But the plan is to have that for mus+ash.
Note: The current implementation is instantiated in Chrome but calls int:
ash::Shell::Get()->window_selector_controller()->ToggleOverview()
We'll need to either move WindowManagerHandler into Ash or add or extend a mojo API for this.
Comment 1 by sadrul@chromium.org
, Aug 23 2017