• David Tseng's avatar
    Remove |mode| from ChromeVox · 613ce4af
    David Tseng authored
    ChromeVox Classic is no longer available to users.
    This allows us to remove some complexity surrounding the idea of the various modes for ChromeVox (classic, next, etc).
    
    This change mostly is meant to be cleanup, but it also addresses some bugs. Namely, we unintentionally relied upon onModeChanged to trigger specific behaviors such as installing command handlers. This made sense when mode changes had to be supported. However, with this in a limbo state now that there is no classic mode, we can no longer invoke commands with an empty desktop.
    
    
    Bug: 
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: Ic9270ab7e3cc3ba734f21bc84c00738bb0d43e56
    Reviewed-on: https://chromium-review.googlesource.com/825169
    Commit-Queue: David Tseng <dtseng@chromium.org>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524343}
    613ce4af
background.js 17.6 KB