Improve initial window announcements and learn mode
- chrome.tabs.create is unavailable when all windows are closed. Use chrome.windows.create instaed - open learn mode in a panel window (e.g. no address bar) - detect when a load complete fires with focus on an ancestor window such as when the learn mode window appears. This interrupts ChromeVox from reading the entire url of the root web area on initial showing of the root which happens before load complete. Since the window never explicitly places focus on the root web area, ChromeVox never reads the title or triggers focus recovery. that a friendly (non-url) title gets read in both cases. Test: launch both options page and learn mode from empty desktop. Verify Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ia5f564cbaa2dedb07c50878368a371b54bf1ac2a Reviewed-on: https://chromium-review.googlesource.com/825629 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#524580}
Showing
Please register or sign in to comment