commit | 14cd071f3f7ec126d2f492cbc0170a594af3ff21 | [log] [tgz] |
---|---|---|
author | Katie D <katie@chromium.org> | Tue May 01 19:35:15 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 01 19:35:15 2018 |
tree | d6b39ba2d600f7910c2895e4525d3876a097e8e0 | |
parent | 25efcca94a032c04dab58f3b2aabcb5fc3356602 [diff] |
Add AccessibilityPrivate methods to communicate Select-to-Speak extension state. 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: David Tseng <dtseng@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#555147}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .