• Katie D's avatar
    Add AccessibilityPrivate methods to communicate Select-to-Speak extension state. · 14cd071f
    Katie D authored
    This is part of go/chromeos-sts-on-screen-ui, which requires the chrome process
    to be able to communicate bi-directionally with the Select-to-Speak extension:
    Chrome must be able to request Select-to-Speak to change states, and must get
    notified whenever Select-to-Speak's state changes.
    
    1. This change hooks up the extension receiving requests from Chrome to change
    state, although the implementation of changing state logic in the extension is
    currently a TODO.
    
    2. This change also hooks up the extension communicating its state back to
    Chrome, although the accessibility_extension_api method that receives the call
    is implemented as a TODO after converting accessibility_private state into a
    more universal mojom::SelectToSpeakState state.
    
    Note: We need mojom::SelectToSpeakState because chrome needs to communicate
    state changes through to the shelf in Ash, so the enum needs to be usable across
    processes.
    
    The next changes will complete the TODOs in 1. and 2. above.
    
    Bug: 753018
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: Ia1785a85adea02b3e60ed2e60525012d166e7ad2
    Reviewed-on: https://chromium-review.googlesource.com/1030901
    Commit-Queue: Katie Dektar <katie@chromium.org>
    Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555147}
    14cd071f
enums.xml 2.04 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.